Package com.hazelcast.concurrent.atomicreference.operations

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


    }

    @Override
    public InternalCompletableFuture<Boolean> asyncCompareAndSet(E expect, E update) {
        NodeEngine nodeEngine = getNodeEngine();
        Operation operation = new CompareAndSetOperation(name, nodeEngine.toData(expect), nodeEngine.toData(update));
        return asyncInvoke(operation, nodeEngine);
    }
View Full Code Here


        this.expected = expected;
    }

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

        this.expected = expected;
    }

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

                    case ALTER:
                        return new AlterOperation();
                    case APPLY:
                        return new ApplyOperation();
                    case COMPARE_AND_SET:
                        return new CompareAndSetOperation();
                    case CONTAINS:
                        return new ContainsOperation();
                    case GET_AND_ALTER:
                        return new GetAndAlterOperation();
                    case GET_AND_SET:
View Full Code Here

        this.expected = expected;
    }

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

TOP

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

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.