com.hazelcast.core
Interface AsyncAtomicLong
- All Superinterfaces:
- DistributedObject, IAtomicLong
@Beta
public interface AsyncAtomicLong
- extends IAtomicLong
A IAtomicLong
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.IAtomicLong |
addAndGet, alter, alterAndGet, apply, compareAndSet, decrementAndGet, get, getAndAdd, getAndAlter, getAndIncrement, getAndSet, getName, incrementAndGet, set |
asyncAddAndGet
ICompletableFuture<Long> asyncAddAndGet(long delta)
asyncCompareAndSet
ICompletableFuture<Boolean> asyncCompareAndSet(long expect,
long update)
asyncDecrementAndGet
ICompletableFuture<Long> asyncDecrementAndGet()
asyncGet
ICompletableFuture<Long> asyncGet()
asyncGetAndAdd
ICompletableFuture<Long> asyncGetAndAdd(long delta)
asyncGetAndSet
ICompletableFuture<Long> asyncGetAndSet(long newValue)
asyncIncrementAndGet
ICompletableFuture<Long> asyncIncrementAndGet()
asyncGetAndIncrement
ICompletableFuture<Long> asyncGetAndIncrement()
asyncSet
ICompletableFuture<Void> asyncSet(long newValue)
asyncAlter
ICompletableFuture<Void> asyncAlter(IFunction<Long,Long> function)
asyncAlterAndGet
ICompletableFuture<Long> asyncAlterAndGet(IFunction<Long,Long> function)
asyncGetAndAlter
ICompletableFuture<Long> asyncGetAndAlter(IFunction<Long,Long> function)
asyncApply
<R> ICompletableFuture<R> asyncApply(IFunction<Long,R> function)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.