@Beta public interface AsyncAtomicLong extends IAtomicLong
IAtomicLong
that exposes its operations using a ICompletableFuture
so it can be used in the reactive programming model approach.Modifier and Type | Method and Description |
---|---|
ICompletableFuture<Long> |
asyncAddAndGet(long delta) |
ICompletableFuture<Void> |
asyncAlter(IFunction<Long,Long> function) |
ICompletableFuture<Long> |
asyncAlterAndGet(IFunction<Long,Long> function) |
<R> ICompletableFuture<R> |
asyncApply(IFunction<Long,R> function) |
ICompletableFuture<Boolean> |
asyncCompareAndSet(long expect,
long update) |
ICompletableFuture<Long> |
asyncDecrementAndGet() |
ICompletableFuture<Long> |
asyncGet() |
ICompletableFuture<Long> |
asyncGetAndAdd(long delta) |
ICompletableFuture<Long> |
asyncGetAndAlter(IFunction<Long,Long> function) |
ICompletableFuture<Long> |
asyncGetAndIncrement() |
ICompletableFuture<Long> |
asyncGetAndSet(long newValue) |
ICompletableFuture<Long> |
asyncIncrementAndGet() |
ICompletableFuture<Void> |
asyncSet(long newValue) |
addAndGet, alter, alterAndGet, apply, compareAndSet, decrementAndGet, get, getAndAdd, getAndAlter, getAndIncrement, getAndSet, getName, incrementAndGet, set
destroy, getId, getPartitionKey, getServiceName
ICompletableFuture<Long> asyncAddAndGet(long delta)
ICompletableFuture<Boolean> asyncCompareAndSet(long expect, long update)
ICompletableFuture<Long> asyncDecrementAndGet()
ICompletableFuture<Long> asyncGet()
ICompletableFuture<Long> asyncGetAndAdd(long delta)
ICompletableFuture<Long> asyncGetAndSet(long newValue)
ICompletableFuture<Long> asyncIncrementAndGet()
ICompletableFuture<Long> asyncGetAndIncrement()
ICompletableFuture<Void> asyncSet(long newValue)
ICompletableFuture<Void> asyncAlter(IFunction<Long,Long> function)
ICompletableFuture<Long> asyncAlterAndGet(IFunction<Long,Long> function)
ICompletableFuture<Long> asyncGetAndAlter(IFunction<Long,Long> function)
<R> ICompletableFuture<R> asyncApply(IFunction<Long,R> function)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.