Interface IDistributedLock
Namespace: Consul
Assembly: Consul.dll
The interface for the Distributed Lock API Endpoints
public interface IDistributedLock
Properties
IsHeld
bool IsHeld { get; }
Property Value
Methods
Acquire(CancellationToken)
Task<CancellationToken> Acquire(CancellationToken ct = default)
Parameters
Returns
Destroy(CancellationToken)
Task Destroy(CancellationToken ct = default)
Parameters
Returns
Release(CancellationToken)
Task Release(CancellationToken ct = default)