InternalCompletableFuture<Boolean> f = invoke(nodeEngine, operation, key);
return f.getSafely();
}
public int getLockCount(NodeEngine nodeEngine, Data key) {
Operation operation = new GetLockCountOperation(namespace, key);
InternalCompletableFuture<Number> f = invoke(nodeEngine, operation, key);
return f.getSafely().intValue();
}