Interface AsyncAtomicValue<V>

Type Parameters:
V - value type
All Superinterfaces:
AsyncPrimitive<AsyncAtomicValue<V>,AtomicValue<V>>, DistributedPrimitive

public interface AsyncAtomicValue<V> extends AsyncPrimitive<AsyncAtomicValue<V>,AtomicValue<V>>
Distributed version of java.util.concurrent.atomic.AtomicReference.

All methods of this interface return a future immediately after a successful invocation. The operation itself is executed asynchronous and the returned future will be completed when the operation finishes.

  • Method Details