com.hazelcast.core
Interface AsyncAtomicReference<E>
- All Superinterfaces:
- DistributedObject, IAtomicReference<E>
@Beta
public interface AsyncAtomicReference<E>
- extends IAtomicReference<E>
A IAtomicReference
that exposes its operations using a ICompletableFuture
so it can be used in the reactive programming model approach.
- Since:
- 3.2
Methods inherited from interface com.hazelcast.core.IAtomicReference |
alter, alterAndGet, apply, clear, compareAndSet, contains, get, getAndAlter, getAndSet, isNull, set, setAndGet |
asyncCompareAndSet
ICompletableFuture<Boolean> asyncCompareAndSet(E expect,
E update)
asyncGet
ICompletableFuture<E> asyncGet()
asyncSet
ICompletableFuture<Void> asyncSet(E newValue)
asyncGetAndSet
ICompletableFuture<E> asyncGetAndSet(E newValue)
asyncSetAndGet
ICompletableFuture<E> asyncSetAndGet(E update)
asyncIsNull
ICompletableFuture<Boolean> asyncIsNull()
asyncClear
ICompletableFuture<Void> asyncClear()
asyncContains
ICompletableFuture<Boolean> asyncContains(E value)
asyncAlter
ICompletableFuture<Void> asyncAlter(IFunction<E,E> function)
asyncAlterAndGet
ICompletableFuture<E> asyncAlterAndGet(IFunction<E,E> function)
asyncGetAndAlter
ICompletableFuture<E> asyncGetAndAlter(IFunction<E,E> function)
asyncApply
<R> ICompletableFuture<R> asyncApply(IFunction<E,R> function)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.