MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​Locking
Open sandboxFocus

Metalama.Patterns.Caching.Locking Namespace

Classes

LocalLockingStrategy

An implementation of ILockingStrategy in which every instance of the LocalLockingStrategy has its own set of named locks that are not shared in any way with other instances. The LocalLockingStrategy can be used to synchronize the execution of methods in the current process and System.AppDomain.

LockTimeoutContext

Context object for the OnLockTimeout delegate.

NullLockingStrategy

An implementation of ILockingStrategy which does not acquire any lock.

Interfaces

ILockHandle

Allows to acquire and release a named lock returned by ILockingStrategy.

ILockingStrategy

Provides instances of named locks.