MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​LockingNull­Locking­Strategy
Open sandboxFocus

NullLockingStrategy Class

An implementation of ILockingStrategy which does not acquire any lock.

Inheritance
System.Object
NullLockingStrategy
Implements
ILockingStrategy
Namespace: Metalama.Patterns.Caching.Locking
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public class NullLockingStrategy : Object, ILockingStrategy

Constructors

Name Description
NullLockingStrategy()

Methods

Name Description
GetLock(String)

Gets a handle to a named lock. This method must return immediately. Waiting, if any, must be done in the Acquire(TimeSpan, CancellationToken) method.