PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​Locking
Open sandboxFocus

PostSharp.Patterns.Caching.Locking Namespace

Classes

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.

Interfaces

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.