Examples of SetOperation


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

        asyncSet(newValue).getSafely();
    }

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

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

        super(name, value);
    }

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

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

        super(name, value);
    }

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

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

                    case GET_AND_ALTER:
                        return new GetAndAlterOperation();
                    case GET_AND_ADD:
                        return new GetAndAddOperation();
                    case SET_OPERATION:
                        return new SetOperation();
                    case SET_BACKUP:
                        return new SetBackupOperation();
                    case REPLICATION:
                        return new AtomicLongReplicationOperation();
                    default:
View Full Code Here

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

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

        super(name, update);
    }

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

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

                    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

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

        super(name, update);
    }

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

Examples of com.hazelcast.map.impl.operation.SetOperation

    public int getClassId() {
        return MapPortableHook.SET;
    }

    protected Operation prepareOperation() {
        SetOperation op = new SetOperation(name, key, value, ttl);
        op.setThreadId(threadId);
        return op;
    }
View Full Code Here

Examples of com.hazelcast.map.impl.operation.SetOperation

        invalidateNearCache(key);
        return result;
    }

    protected void setInternal(final Data key, final Data value, final long ttl, final TimeUnit timeunit) {
        SetOperation operation = new SetOperation(name, key, value, timeunit.toMillis(ttl));
        invokeOperation(key, operation);
        invalidateNearCache(key);
    }
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.