Acquires the lock for the specified key for the specified lease time.
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.6.4.0
Syntax
Parameters
- key
- Type: TKey
 key to lock.
- leaseTime
- Type: SystemInt64
 time to wait before releasing the lock.
- timeUnit
- Type: Hazelcast.CoreTimeUnit
 unit of time to specify lease time.
See Also
