Method Set
Set(TKey, TValue, VersionToken)
Creates/Updates the client cache with latest version of object.
Declaration
public override void Set(TKey key, TValue value, VersionToken version)
Parameters
Type | Name | Description |
---|---|---|
TKey | key | Key to the item in the cache. |
TValue | value | Value associated with the key. |
VersionToken | version | Version returned by the ScaleOut service. |
Overrides
Scaleout.Client.InProc.ClientCache<TKey, TValue>.Set(TKey, TValue, Scaleout.Client.VersionToken)
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.