NamedMapTKey, TValueRetrieveAllKeys Method

ScaleOut Software NamedCache API

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

public ICollection<TKey> RetrieveAllKeys()

Return Value

Type: ICollectionTKey
A ICollectionT containing all the keys in the map.
Exceptions

ExceptionCondition
KeyListExceptionThrown if an error occurs while retrieving the map's keys.
Remarks

This method should be used with caution, since it requires copying all map keys to a single host. Parallel method invocations (InvokeTParam, TResult(NamedMapInvokableTKey, TValue, TParam, TResult, TParam)) are the preferred way for iterating through map content if the size of the map is significant.
See Also

Reference