Tries to acquires the lock for the specified lease time.
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.2
Syntax
Parameters
- time
- Type: SystemInt64
time to wait before releasing the lock. - unit
- Type: SystemNullableTimeUnit
unit of time to specify lease time.
Return Value
Type: BooleanRemarks
After lease time, lock will be released.
See Also