ILockManager Interface |
Provides instances of named locks.
Namespace: PostSharp.Patterns.Caching.Locking
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public interface ILockManager
The ILockManager type exposes the following members.
Name | Description | |
---|---|---|
GetLock |
Gets a handle to a named lock. This method must return immediately. Waiting, if any, must be done in the Acquire(TimeSpan, CancellationToken) method.
|
Two implementations are provided: NullLockManager and LocalLockManager.
To change the lock manager, set the LockManager property.