Search in sources :

Example 1 with CountDownOperation

use of com.hazelcast.concurrent.countdownlatch.operations.CountDownOperation in project hazelcast by hazelcast.

the class CountDownLatchProxy method countDown.

@Override
public void countDown() {
    Operation op = new CountDownOperation(name).setPartitionId(partitionId);
    InternalCompletableFuture f = invokeOnPartition(op);
    f.join();
}
Also used : CountDownOperation(com.hazelcast.concurrent.countdownlatch.operations.CountDownOperation) InternalCompletableFuture(com.hazelcast.spi.InternalCompletableFuture) 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)

Aggregations

AwaitOperation (com.hazelcast.concurrent.countdownlatch.operations.AwaitOperation)1 CountDownOperation (com.hazelcast.concurrent.countdownlatch.operations.CountDownOperation)1 GetCountOperation (com.hazelcast.concurrent.countdownlatch.operations.GetCountOperation)1 SetCountOperation (com.hazelcast.concurrent.countdownlatch.operations.SetCountOperation)1 InternalCompletableFuture (com.hazelcast.spi.InternalCompletableFuture)1 Operation (com.hazelcast.spi.Operation)1