NamedCacheValues Property

ScaleOut Software NamedCache API
Returns the values of all objects stored in cache.

Namespace:  Soss.Client
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax

public ICollection Values { get; }

Property Value

Type: ICollection
Remarks

The Values property implementation first retrieves the set of keys for all objects in the cache. The objects corresponding to those keys are lazily retrieved from StateServer as they are requested via the Values' IEnumerator. It is possible that an object that existed at the time the keys were retrieved may no longer exist at the time the the Values enumerator is asked to retrieve it. In that case, a null will be returned for the current value in the enumeration.

Care should be taken when calling this property on a large cache. Retrieval of a large set of objects may cause high network usage between ScaleOut hosts and may also cause high CPU overhead from deserializing many objects.

See Also

Reference