Soss.Client.Concurrent Namespace

ScaleOut Software NamedCache API
The Soss.Client.Concurrent collection contains the NamedMap API, which is optimized for the efficient storage of large numbers of small objects--this allows objects to be analyzed in bulk very quickly using ScaleOut's Parallel Method Invocation (PMI) engine.
Classes

  ClassDescription
Public classBulkLoaderTKey, TValue
This class is used to efficiently bulk put objects into NamedMapTKey, TValue or remove objects from the map. The object values are not guaranteed to be propagated to the map until the Close method is called.
Public classBulkLoaderException
Thrown when exception occurred while running the bulk load operations for a given named map.
Public classCustomSerializerT
Public classDefaultSerializerT
Default implementation of the NamedMap serializer based on use of Microsoft's BinaryFormatter class.
Public classKeyListException
Thrown when exception occurred while retrieving or processing the list of keys.
Public classMapReduceException
Public classCode exampleNamedMapTKey, TValue
The NamedMapTKey, TValue semantics follow the signature of the ConcurrentDictionary class in Microsoft's System.Collections.Concurrent namespace and it uses ScaleOut StateServer to store keys and values. NamedMapTKey, TValue represents a thread-safe collection of key-value pairs that can be accessed by multiple threads concurrently. The map contents are coherent across the in-memory data grid.
Public classNamedMapInvokableTKey, TValue, TParam, TResult
Public classNamedMapInvokableContextTKey, TValue
Public classQueryConditionTKey, TValue
Public classSossTimeout
Contains a constant used to specify an infinite amount of time. We can use this class until we are fully migrated to .NET 4.5 where the InfiniteTimeSpan was introduced.
Enumerations

  EnumerationDescription
Public enumerationAutoCorrectStreamPosition
Defines the stream reading behavior when the serialized key/value elements are retrieved from in-memory data grid as the memory stream chunks. When using XML-based custom serializers it is necessary for NamedMapTKey, TValue to control the memory stream position after reading an individual key or its value out of memory stream.
Public enumerationAvailabilityMode
Controls whether the in-memory data grid should create replicas of the named map elements on multiple hosts.
Public enumerationParallelOperationTransport
Public enumerationRemoveBehavior
Defines whether the TryRemove(TKey, RemoveBehavior, TValue) method should return deleted key's value. By default, deleted value is not returned to avoid additional roundtrip to the ScaleOut StateServer service.