NamedCacheGet Method (IEnumerable)

ScaleOut Software NamedCache API
Gets multiple objects from the cache based on a collection of object identifiers. No locking is performed by this overload.

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

public Hashtable Get(
	IEnumerable ids
)

Parameters

ids
Type: System.CollectionsIEnumerable
An enumerable collection of object identifiers. IDs must be of type string, byte[] (16 or 32 bytes long), or CachedObjectId.

Return Value

Type: Hashtable
A Hashtable where keys in the collection are the supplied identifiers and whose values are the objects retrieved from the cache.
Exceptions

ExceptionCondition
StateServerExceptionThrown if ScaleOut StateServer is unavailable or has experienced an internal error.
ReadThroughTimeoutExceptionThrown if backing store read-through or GeoServer pull replication is used with this NamedCache and the retrieval of an object is delayed beyond the number of retries specified by MaxReadThroughPendingAttempts.
Remarks

Objects will not be locked upon retrieval through this method, even if UseLocking is true. If there is no matching object for a specified key in the cache, it will have an entry in the returned Hashtable with a null value.

If GeoServer pull replication is being used, the NamedCache's DefaultGeoServerReadMode property will determine this Get call's GeoServer read behavior when accessing all of the requested objects from a remote store.

See Also

Reference