Package com.hazelcast.concurrent.countdownlatch.operations

Examples of com.hazelcast.concurrent.countdownlatch.operations.GetCountOperation


                    case COUNT_DOWN_LATCH_REPLICATION_OPERATION:
                        return new CountDownLatchReplicationOperation();
                    case COUNT_DOWN_OPERATION:
                        return new CountDownOperation();
                    case GET_COUNT_OPERATION:
                        return new GetCountOperation();
                    case SET_COUNT_OPERATION:
                        return new SetCountOperation();
                    default:
                        return null;
                }
View Full Code Here


        f.getSafely();
    }

    @Override
    public int getCount() {
        GetCountOperation op = new GetCountOperation(name);
        InternalCompletableFuture<Integer> f = invoke(op);
        return f.getSafely();
    }
View Full Code Here

        return name;
    }

    @Override
    protected Operation prepareOperation() {
        return new GetCountOperation(name);
    }
View Full Code Here

        return name;
    }

    @Override
    protected Operation prepareOperation() {
        return new GetCountOperation(name);
    }
View Full Code Here

        return name;
    }

    @Override
    protected Operation prepareOperation() {
        return new GetCountOperation(name);
    }
View Full Code Here

        f.getSafely();
    }

    @Override
    public int getCount() {
        GetCountOperation op = new GetCountOperation(name);
        InternalCompletableFuture<Integer> f = invoke(op);
        return f.getSafely();
    }
View Full Code Here

TOP

Related Classes of com.hazelcast.concurrent.countdownlatch.operations.GetCountOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.