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