Method Set
Set(ref ObjectKey, CacheEntry<TValue>)
Creates/Updates the client cache with latest version of object.
public override void Set(ref ObjectKey key, CacheEntry<TValue> cacheEntry)
Parameters
key
ObjectKeyKey to the item in the cache.
cacheEntry
CacheEntry<TValue>Client cache entry associated with the key.
Remarks
The provided object is placed at the front of the LRU list, and the least recently used objects are evicted to make room for the entry if Capacity is exceeded.