NamedMapTKey, TValueAutoCorrectStreamPosition Property

ScaleOut Software NamedCache API
Controls the stream reading behavior when the serialized key/value elements are retrieved from in-memory data grid as the memory stream chunks. When using either XML-based or Json-like custom serializers to serialize keys or values, it might be necessary for NamedMapTKey, TValue to control the memory stream position after reading an individual key or its value out of memory stream.

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

public AutoCorrectStreamPosition AutoCorrectStreamPosition { get; set; }

Property Value

Type: AutoCorrectStreamPosition
Remarks

This property is only used for parallel operations during the InvokeTParam, TResult(NamedMapInvokableTKey, TValue, TParam, TResult, TParam) or ExecuteParallelQuery(QueryConditionTKey, TValue) method calls and only when these calls use custom serializers.

By default, the AutoCorrectStreamPosition.Never is used by the NamedMapTKey, TValue.

See Also

Reference