DistributedLockServiceExtensions - класс |
Пространство имён: Orchard.Tasks.Locking.Services
public static class DistributedLockServiceExtensions
| Имя | Описание | |
|---|---|---|
| AcquireLock(IDistributedLockService, String) |
Acquires a named distributed lock with no expiration time within the current tenant.
| |
| AcquireLock(IDistributedLockService, String, NullableTimeSpan) |
Acquires a named distributed lock with a given expiration time within the current tenant.
| |
| TryAcquireLock(IDistributedLockService, String, IDistributedLock) |
Tries to immediately acquire a named distributed lock with no expiration time within the current tenant.
| |
| TryAcquireLock(IDistributedLockService, String, NullableTimeSpan, IDistributedLock) |
Tries to immediately acquire a named distributed lock with a given expiration time within the current tenant.
|