Package com.hazelcast.concurrent.atomicreference.operations

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


    }

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


        super(name, update);
    }

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

                    case SET_AND_GET:
                        return new SetAndGetOperation();
                    case SET_BACKUP:
                        return new SetBackupOperation();
                    case SET:
                        return new SetOperation();
                    case REPLICATION:
                        return new AtomicReferenceReplicationOperation();
                    default:
                        return null;
                }
View Full Code Here

        super(name, update);
    }

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

TOP

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

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.