PostSharp.Patterns.Caching.Locking Namespace |
This namespaces implements the feature that can prevent concurrent execution of a cached method.

Class | Description | |
---|---|---|
![]() | LocalLockManager |
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.
|
![]() | NullLockManager |
An implementation of ILockManager which does not acquire any lock.
|

Interface | Description | |
---|---|---|
![]() | IAcquireLockTimeoutStrategy |
Represents the behavior when the caching aspect cannot acquire a lock because of a timeout.
|
![]() | ILockHandle |
Allows to acquire and release a named lock returned by GetLock(String).
|
![]() | ILockManager |
Provides instances of named locks.
|