NamedCacheMaxReadThroughPendingAttempts Property

ScaleOut Software NamedCache API
Gets/Sets the number of read attempts made when performing a read-through operation from a backing store or a remote read from another store using GeoServer pull replication. The default is 2400 attempts.

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

public int MaxReadThroughPendingAttempts { get; set; }

Property Value

Type: Int32
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the property is set to a value less than 1.
Remarks

When performing a read-through operation to a backing store, the NamedCache will repeatedly attempt to read an object from the SOSS server in situations where another client is concurrently performing a read-through operation from a database or other backing store. This property determines the number of times the NamedCache attempts to read the object from the cache before the method throws a ReadThroughTimeoutException. The default is 2400 attempts.

Parameters to the SetBackingStoreAdapter(IBackingStore, BackingStorePolicy) method determine whether a NamedCache automatically tries to perform read-through operations.

When performing a remote read of an object from a another store via GeoServer pull replication, the NamedCache may need to repeatedly attempt to perform the remote read in a number of situations (for example, the master copy of the object may be in transit to a different remote store, or another thread in this client may already be trying to perform a remote read and is refreshing the local proxy of the object).

Use the ReadPendingRetryInterval property to set the amount of time between retries.

See Also

Reference