use of com.hazelcast.concurrent.lock.operations.GetRemainingLeaseTimeOperation in project hazelcast by hazelcast.
the class LockProxySupport method getRemainingLeaseTime.
public long getRemainingLeaseTime(NodeEngine nodeEngine, Data key) {
Operation operation = new GetRemainingLeaseTimeOperation(namespace, key);
InternalCompletableFuture<Number> f = invoke(nodeEngine, operation, key);
return f.join().longValue();
}
Aggregations