Class CacheEntry<TValue>
Client cache entry returned from Get(ref ObjectKey) operation.
public class CacheEntry<TValue>
Type Parameters
TValue
Type of value held in the client cache.
- Inheritance
-
CacheEntry<TValue>
- Inherited Members
Constructors
- CacheEntry(ObjectKey, TValue, VersionToken, int)
Constructor.
Properties
- Age
Gets the age of the cached instance held in the in-process cache.
- Key
Gets the key to the object in the ScaleOut service.
- Value
Gets the cached instance of the object held in the in-process cache.
- Version
Gets the version of the object in the ScaleOut service.
Methods
- Touch(DateTime)
Updates the age of the client cache entry to the current time. Called after a round trip to the service confirms that the entry is up-to-date.