Class LocalAbpDistributedLock
Inheritance
LocalAbpDistributedLock
Assembly: Volo.Abp.DistributedLocking.Abstractions.dll
Syntax
public class LocalAbpDistributedLock : IAbpDistributedLock, ISingletonDependency
Constructors
LocalAbpDistributedLock(IDistributedLockKeyNormalizer)
Declaration
public LocalAbpDistributedLock(IDistributedLockKeyNormalizer distributedLockKeyNormalizer)
Parameters
Properties
DistributedLockKeyNormalizer
Declaration
protected IDistributedLockKeyNormalizer DistributedLockKeyNormalizer { get; }
Property Value
Methods
TryAcquireAsync(string, TimeSpan, CancellationToken)
Declaration
public Task<IAbpDistributedLockHandle?> TryAcquireAsync(string name, TimeSpan timeout = default, CancellationToken cancellationToken = default)
Parameters
Returns
Implements
Extension Methods