Package com.hazelcast.concurrent.atomiclong.operations

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


        return asyncGetAndSet(newValue).getSafely();
    }

    @Override
    public InternalCompletableFuture<Long> asyncGetAndSet(long newValue) {
        Operation operation = new GetAndSetOperation(name, newValue);
        return asyncInvoke(operation);
    }
View Full Code Here


        super(name, value);
    }

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

        super(name, value);
    }

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

                    case COMPARE_AND_SET:
                        return new CompareAndSetOperation();
                    case GET:
                        return new GetOperation();
                    case GET_AND_SET:
                        return new GetAndSetOperation();
                    case GET_AND_ALTER:
                        return new GetAndAlterOperation();
                    case GET_AND_ADD:
                        return new GetAndAddOperation();
                    case SET_OPERATION:
View Full Code Here

TOP

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