Gets/Sets milliseconds between lock retries. Default is 5 milliseconds.
Namespace: Soss.Client
Assembly: soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax
Property Value
Type: Int32Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown if the property is set to a value less than 0. |
Remarks
The NamedCache will repeatedly attempt to acquire a lock in situations where another client already has a lock on the object. The LockRetryInterval property gets or sets the amount of time (in milliseconds) between attempts to acquire an exclusive lock on the cached object using AcquireLock(CachedObjectId), getting via ItemCachedObjectId (when UseLocking is true), and Retrieve(true). The default value is 5 milliseconds.
The number of retries is determined by the MaxLockAttempts property.
See Also