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: 6.2.0.0
Syntax
Property Value
Type: Int32Remarks
- TryUpdate(TKey, TValue)
- TryUpdate(TKey, TValue, TValue)
- AddOrUpdate(TKey, TValue, FuncTKey, TValue, TValue)
- AddOrUpdate(TKey, FuncTKey, TValue, FuncTKey, TValue, TValue)
- GetOrAdd(TKey, TValue)
- GetOrAdd(TKey, FuncTKey, TValue)
- TryRemove(TKey, RemoveBehavior, TValue)
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