Skip to main content

DisposableDistributedLock

distributed lock class that follows the Resource Allocation Is Initialization pattern

Assembly: ServiceStack.Redis.dll
View Source
Declaration
public class DisposableDistributedLock : IDisposable

Properties

LockState

View Source
Declaration
public long LockState { get; }

LockExpire

View Source
Declaration
public long LockExpire { get; }

Methods

Dispose()

unlock

View Source
Declaration
public void Dispose()

Implements

  • System.IDisposable