Package com.hazelcast.concurrent.atomicreference.operations

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


    }

    @Override
    public InternalCompletableFuture<E> asyncGetAndSet(E newValue) {
        NodeEngine nodeEngine = getNodeEngine();
        Operation operation = new GetAndSetOperation(name, nodeEngine.toData(newValue));
        return asyncInvoke(operation, nodeEngine);
    }
View Full Code Here


        super(name, update);
    }

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

                    case CONTAINS:
                        return new ContainsOperation();
                    case GET_AND_ALTER:
                        return new GetAndAlterOperation();
                    case GET_AND_SET:
                        return new GetAndSetOperation();
                    case GET:
                        return new GetOperation();
                    case IS_NULL:
                        return new IsNullOperation();
                    case SET_AND_GET:
View Full Code Here

        super(name, update);
    }

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

TOP

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

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.