Acquires the lock for the specified lease time.
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.6.2.0
Syntax
Parameters
- leaseTime
- Type: SystemInt64
time to wait before releasing the lock. - timeUnit
- Type: SystemNullableTimeUnit
unit of time to specify lease time.
Remarks
After lease time, lock will be released.
If the lock is not available then the current thread becomes disabled for thread scheduling purposes and lies dormant until the lock has been acquired.
See Also