Class DistributedLockExtensions
Convenience extensions over .
public static class DistributedLockExtensions
Inheritance
Methods
AcquireAsync(IDistributedLock, string, string, string, int, TimeSpan, CancellationToken)
Attempts to acquire a lock, polling with exponential backoff until either acquired
public static Task<LockResult> AcquireAsync(this IDistributedLock @lock, string lockName, string ownerNodeId, string groupName, int ttlSeconds, TimeSpan waitTimeout, CancellationToken ct = default)