Constructor ReadOptions
ReadOptions(ClientCacheUsage, GeoServerReadMode)
Constructor.
public ReadOptions(ClientCacheUsage clientCacheUsage, GeoServerReadMode geoServerReadMode)
Parameters
clientCacheUsage
ClientCacheUsageIndicates whether a reference from the in-process client cache may be returned. Use a deep copy 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.
geoServerReadMode
GeoServerReadModeGeoServer "pull" replication behavior when retrieving the object from the ScaleOut service.
ReadOptions(ClientCacheUsage, GeoServerReadMode, VersionToken)
Constructor.
public ReadOptions(ClientCacheUsage clientCacheUsage, GeoServerReadMode geoServerReadMode, VersionToken fastReadVersion)
Parameters
clientCacheUsage
ClientCacheUsageIndicates whether a reference from the in-process client cache may be returned. Use a deep copy 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.
geoServerReadMode
GeoServerReadModeGeoServer "pull" replication behavior when retrieving the object from the ScaleOut service.
fastReadVersion
VersionTokenFor 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.
ReadOptions(ClientCacheUsage, GeoServerReadMode, VersionToken, TimeSpan)
Constructor.
public ReadOptions(ClientCacheUsage clientCacheUsage, GeoServerReadMode geoServerReadMode, VersionToken fastReadVersion, TimeSpan coherencyInterval)
Parameters
clientCacheUsage
ClientCacheUsageIndicates whether a reference from the in-process client cache may be returned. Use a deep copy 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.
geoServerReadMode
GeoServerReadModeGeoServer "pull" replication behavior when retrieving the object from the ScaleOut service.
fastReadVersion
VersionTokenFor 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.
coherencyInterval
TimeSpanThe coherency interval to use for the read call when the
clientCacheUsage
parameter is set to OverrideCoherencyInterval or OverrideCoherencyIntervalDeepCopy.