An implementation of ILockingStrategy which does not acquire any lock.
Implements
Namespace: Metalama.Patterns.Caching.Locking
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public class NullLockingStrategy : 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. |