![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | ILockGetRemainingLeaseTime Method |
Returns remaining lease time in milliseconds.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxlong GetRemainingLeaseTime()
Function GetRemainingLeaseTime As Long
long long GetRemainingLeaseTime()
abstract GetRemainingLeaseTime : unit -> int64
Return Value
Type:
Int64remaining lease time in milliseconds.
Remarks
Returns remaining lease time in milliseconds.
If the lock is not locked then -1 will be returned.
See Also