Updating Entries

A cached entry can be updated using these methods:

Similar to entry creation, all of these operations can be aborted by a cache writer.

The get function returns a direct reference to the entry value object. A change made using that reference is called an in-place change because it directly modifies the contents of the value in the local cache. For details on safe cache access, see Managing the Lifetime of a Cached Object.