Package com.hazelcast.concurrent.atomiclong.operations

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


        return asyncCompareAndSet(expect, update).getSafely();
    }

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


        this.expect = expect;
    }

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

        this.expect = expect;
    }

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

                    case ALTER_AND_GET:
                        return new AlterAndGetOperation();
                    case APPLY:
                        return new ApplyOperation();
                    case COMPARE_AND_SET:
                        return new CompareAndSetOperation();
                    case GET:
                        return new GetOperation();
                    case GET_AND_SET:
                        return new GetAndSetOperation();
                    case GET_AND_ALTER:
View Full Code Here

TOP

Related Classes of com.hazelcast.concurrent.atomiclong.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.