start Caching
Starts caching the load
and store
operation results in memory for the given Entity
identifier.
Call stopCaching(entityId) to flush the accumulated entity update to the underlying storage via the pre-configured store function.
Parameters
id
an identifier of the entity to cache