NamedMapTKey, TValueMaxServerRetries Property

ScaleOut Software NamedCache API
Sets the maximum number of server request retries when a race condition between client requests occur.

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

public int MaxServerRetries { get; set; }

Property Value

Type: Int32

The MaxServerRetries property is used when server requests lose a race with another server request that attempts to modify the same object. This race condition can occur in the following methods:

The number of server request retries in these methods are limited by this property, and TimeoutException is thrown if the race is not resolved after that number of retries. MaxServerRetries is set to a reasonable default value of 1000 retries, and under normal operation does not need to be changed.

See Also