Examples of AlterAndGetOperation


Examples of com.hazelcast.concurrent.atomiclong.operations.AlterAndGetOperation

    @Override
    public InternalCompletableFuture<Long> asyncAlterAndGet(IFunction<Long, Long> function) {
        isNotNull(function, "function");

        Operation operation = new AlterAndGetOperation(name, function);
        return asyncInvoke(operation);
    }
View Full Code Here

Examples of com.hazelcast.concurrent.atomiclong.operations.AlterAndGetOperation

        super(name, function);
    }

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

Examples of com.hazelcast.concurrent.atomiclong.operations.AlterAndGetOperation

        super(name, function);
    }

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

Examples of com.hazelcast.concurrent.atomiclong.operations.AlterAndGetOperation

                    case ADD_AND_GET:
                        return new AddAndGetOperation();
                    case ALTER:
                        return new AlterOperation();
                    case ALTER_AND_GET:
                        return new AlterAndGetOperation();
                    case APPLY:
                        return new ApplyOperation();
                    case COMPARE_AND_SET:
                        return new CompareAndSetOperation();
                    case GET:
View Full Code Here

Examples of com.hazelcast.concurrent.atomicreference.operations.AlterAndGetOperation

    @Override
    public InternalCompletableFuture<E> asyncAlterAndGet(IFunction<E, E> function) {
        isNotNull(function, "function");

        NodeEngine nodeEngine = getNodeEngine();
        Operation operation = new AlterAndGetOperation(name, nodeEngine.toData(function));
        return asyncInvoke(operation, nodeEngine);
    }
View Full Code Here

Examples of com.hazelcast.concurrent.atomicreference.operations.AlterAndGetOperation

        super(name, function);
    }

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

Examples of com.hazelcast.concurrent.atomicreference.operations.AlterAndGetOperation

        return new DataSerializableFactory() {
            @Override
            public IdentifiedDataSerializable create(int typeId) {
                switch (typeId) {
                    case ALTER_AND_GET:
                        return new AlterAndGetOperation();
                    case ALTER:
                        return new AlterOperation();
                    case APPLY:
                        return new ApplyOperation();
                    case COMPARE_AND_SET:
View Full Code Here

Examples of com.hazelcast.concurrent.atomicreference.operations.AlterAndGetOperation

        super(name, function);
    }

    @Override
    protected Operation prepareOperation() {
        return new AlterAndGetOperation(name, function);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.