use of com.hazelcast.concurrent.countdownlatch.operations.GetCountOperation in project hazelcast by hazelcast.
the class CountDownLatchProxy method getCount.
@Override
public int getCount() {
Operation op = new GetCountOperation(name).setPartitionId(partitionId);
InternalCompletableFuture<Integer> f = invokeOnPartition(op);
return f.join();
}
Also used :
GetCountOperation(com.hazelcast.concurrent.countdownlatch.operations.GetCountOperation)
CountDownOperation(com.hazelcast.concurrent.countdownlatch.operations.CountDownOperation)
Operation(com.hazelcast.spi.Operation)
GetCountOperation(com.hazelcast.concurrent.countdownlatch.operations.GetCountOperation)
AwaitOperation(com.hazelcast.concurrent.countdownlatch.operations.AwaitOperation)
SetCountOperation(com.hazelcast.concurrent.countdownlatch.operations.SetCountOperation)