Package com.hazelcast.concurrent.atomicreference.operations

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


        super(name, function);
    }

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

        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

        super(name, function);
    }

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

TOP

Related Classes of com.hazelcast.concurrent.atomicreference.operations.AlterAndGetOperation

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.