Examples of GetAndSetOperation


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

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

        super(name, value);
    }

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

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

        super(name, value);
    }

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

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

                    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

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

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

        super(name, update);
    }

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

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

                    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

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

        super(name, update);
    }

    @Override
    protected Operation prepareOperation() {
        return new GetAndSetOperation(name, update);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.