InternalCompletableFuture<Number> f = invoke(nodeEngine, operation, key);
return f.getSafely().intValue();
}
public long getRemainingLeaseTime(NodeEngine nodeEngine, Data key) {
Operation operation = new GetRemainingLeaseTimeOperation(namespace, key);
InternalCompletableFuture<Number> f = invoke(nodeEngine, operation, key);
return f.getSafely().longValue();
}