Table of Contents

Struct ReadOptions

Namespace
Scaleout.Client
Assembly
Scaleout.Client.dll

Options that can be used when retrieving an object from the ScaleOut service.

public struct ReadOptions
Inherited Members

Constructors

ReadOptions(ClientCacheUsage, GeoServerReadMode)

Constructor.

ReadOptions(ClientCacheUsage, GeoServerReadMode, VersionToken)

Constructor.

ReadOptions(ClientCacheUsage, GeoServerReadMode, VersionToken, TimeSpan)

Constructor.

Properties

ClientCacheUsage

Indicates whether a reference from the in-process client cache may be returned. Use ReturnDeepCopy if the returned object will be modified but the changes will not be persisted, or when an optimistic update will be used to persist changes back to the ScaleOut service. Default is ReturnCachedReference.

CoherencyInterval

The coherency interval to use for the read call when the ClientCacheUsage property is set to OverrideCoherencyInterval or OverrideCoherencyIntervalDeepCopy.

FastReadVersion

For use in invoke callbacks. Indicates whether a "fast read" should be attempted, allowing an object to be returned directly from the in-process client cache without first doing a round trip to the authoritative ScaleOut service for a version check. Set to Empty (the default) to disable fast reads. Default is Empty.

GeoServerReadMode

Gets GeoServer "pull" replication behavior when retrieving the object from the ScaleOut service. Default is None.