Search in sources :

Example 1 with AlterOperation

use of com.hazelcast.concurrent.atomicreference.operations.AlterOperation in project hazelcast by hazelcast.

the class AtomicReferenceProxy method alterAsync.

@Override
public InternalCompletableFuture<Void> alterAsync(IFunction<E, E> function) {
    isNotNull(function, "function");
    Operation operation = new AlterOperation(name, toData(function)).setPartitionId(partitionId);
    return invokeOnPartition(operation);
}
Also used : GetAndAlterOperation(com.hazelcast.concurrent.atomicreference.operations.GetAndAlterOperation) AlterOperation(com.hazelcast.concurrent.atomicreference.operations.AlterOperation) IsNullOperation(com.hazelcast.concurrent.atomicreference.operations.IsNullOperation) SetAndGetOperation(com.hazelcast.concurrent.atomicreference.operations.SetAndGetOperation) GetAndSetOperation(com.hazelcast.concurrent.atomicreference.operations.GetAndSetOperation) GetAndAlterOperation(com.hazelcast.concurrent.atomicreference.operations.GetAndAlterOperation) Operation(com.hazelcast.spi.Operation) GetOperation(com.hazelcast.concurrent.atomicreference.operations.GetOperation) SetOperation(com.hazelcast.concurrent.atomicreference.operations.SetOperation) AlterAndGetOperation(com.hazelcast.concurrent.atomicreference.operations.AlterAndGetOperation) CompareAndSetOperation(com.hazelcast.concurrent.atomicreference.operations.CompareAndSetOperation) AlterOperation(com.hazelcast.concurrent.atomicreference.operations.AlterOperation) ApplyOperation(com.hazelcast.concurrent.atomicreference.operations.ApplyOperation) ContainsOperation(com.hazelcast.concurrent.atomicreference.operations.ContainsOperation)

Aggregations

AlterAndGetOperation (com.hazelcast.concurrent.atomicreference.operations.AlterAndGetOperation)1 AlterOperation (com.hazelcast.concurrent.atomicreference.operations.AlterOperation)1 ApplyOperation (com.hazelcast.concurrent.atomicreference.operations.ApplyOperation)1 CompareAndSetOperation (com.hazelcast.concurrent.atomicreference.operations.CompareAndSetOperation)1 ContainsOperation (com.hazelcast.concurrent.atomicreference.operations.ContainsOperation)1 GetAndAlterOperation (com.hazelcast.concurrent.atomicreference.operations.GetAndAlterOperation)1 GetAndSetOperation (com.hazelcast.concurrent.atomicreference.operations.GetAndSetOperation)1 GetOperation (com.hazelcast.concurrent.atomicreference.operations.GetOperation)1 IsNullOperation (com.hazelcast.concurrent.atomicreference.operations.IsNullOperation)1 SetAndGetOperation (com.hazelcast.concurrent.atomicreference.operations.SetAndGetOperation)1 SetOperation (com.hazelcast.concurrent.atomicreference.operations.SetOperation)1 Operation (com.hazelcast.spi.Operation)1