PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Caching.​Locking Namespace

PostSharp.Patterns.Caching.Locking Namespace

 
Classes
  ClassDescription
Public classLocalLockManager
An implementation of ILockManager in which every instance of the LocalLockManager has its own set of named locks that are not shared in any way with other instances. The LocalLockManager can be used to synchronize the execution of methods in the current process and AppDomain.
Public classNullLockManager
An implementation of ILockManager which does not acquire any lock.
Interfaces
  InterfaceDescription
Public interfaceIAcquireLockTimeoutStrategy
Represents the behavior when the caching aspect cannot acquire a lock because of a timeout.
Public interfaceILockHandle
Allows to acquire and release a named lock returned by GetLock(String).
Public interfaceILockManager
Provides instances of named locks.