IDistributedLockService - интерфейс |
Пространство имён: Orchard.Tasks.Locking.Services
public interface IDistributedLockService : IDependency
Тип IDistributedLockService предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| AcquireLock |
Acquires a named distributed lock within the current tenant or throws if the lock cannot be acquired.
| |
| TryAcquireLock |
Tries to acquire a named distributed lock within the current tenant.
|
| Имя | Описание | |
|---|---|---|
| AcquireLock(String) | Перегружен.
Acquires a named distributed lock with no expiration time within the current tenant.
(Определяется DistributedLockServiceExtensions.) | |
| AcquireLock(String, NullableTimeSpan) | Перегружен.
Acquires a named distributed lock with a given expiration time within the current tenant.
(Определяется DistributedLockServiceExtensions.) | |
| TryAcquireLock(String, IDistributedLock) | Перегружен.
Tries to immediately acquire a named distributed lock with no expiration time within the current tenant.
(Определяется DistributedLockServiceExtensions.) | |
| TryAcquireLock(String, NullableTimeSpan, IDistributedLock) | Перегружен.
Tries to immediately acquire a named distributed lock with a given expiration time within the current tenant.
(Определяется DistributedLockServiceExtensions.) |