IKeyLockable<TKey> Interface
Namespace: Hazelcast.DistributedObjects
Assembly: Hazelcast.Net.dll
public interface IKeyLockable<TKey>
Type Parameters
| TKey |
Methods
| Name | Description |
|---|---|
| ForceUnlockAsync(TKey) | Force-unlocks an entry. |
| IsLockedAsync(TKey) | Determines whether an entry is locked. |
| LockAsync(TKey) | Locks an entry. |
| LockAsync(TKey, TimeSpan) | Locks an entry for a given time duration (lease time), |
| TryLockAsync(TKey) | Tries to lock an entry immediately. |
| TryLockAsync(TKey, TimeSpan) | Tries to lock an entry within a server-side timeout. |
| TryLockAsync(TKey, TimeSpan, TimeSpan) | Tries to lock an entry for a given time duration (lease time), within a server-side timeout. |
| UnlockAsync(TKey) | Unlocks an entry. |