Open sandboxFocus

Class NullLockingStrategy

An implementation of ILockingStrategy which does not acquire any lock.

Inheritance
NullLockingStrategy
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.

Extension Methods