public class RaftAtomicLongProxy extends ClientProxy implements IAtomicLong
IAtomicLongname| Constructor and Description |
|---|
RaftAtomicLongProxy(ClientContext context,
RaftGroupId groupId,
String proxyName,
String objectName) |
deregisterListener, destroy, destroyLocally, destroyRemotely, equals, getClient, getConnectedServerVersion, getContext, getDistributedObjectName, getId, getName, getSerializationService, getServiceName, hashCode, invoke, invoke, invokeOnAddress, invokeOnPartition, invokeOnPartitionInterruptibly, onInitialize, onShutdown, postDestroy, preDestroy, registerListener, setContext, toData, toObjectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetNamedestroy, getServiceNamepublic RaftAtomicLongProxy(ClientContext context, RaftGroupId groupId, String proxyName, String objectName)
public long addAndGet(long delta)
addAndGet in interface IAtomicLongpublic boolean compareAndSet(long expect,
long update)
compareAndSet in interface IAtomicLongpublic long decrementAndGet()
decrementAndGet in interface IAtomicLongpublic long get()
get in interface IAtomicLongpublic long getAndAdd(long delta)
getAndAdd in interface IAtomicLongpublic long getAndSet(long newValue)
getAndSet in interface IAtomicLongpublic long incrementAndGet()
incrementAndGet in interface IAtomicLongpublic long getAndIncrement()
getAndIncrement in interface IAtomicLongpublic void set(long newValue)
set in interface IAtomicLongpublic void alter(IFunction<Long,Long> function)
alter in interface IAtomicLongpublic long alterAndGet(IFunction<Long,Long> function)
alterAndGet in interface IAtomicLongpublic long getAndAlter(IFunction<Long,Long> function)
getAndAlter in interface IAtomicLongpublic <R> R apply(IFunction<Long,R> function)
apply in interface IAtomicLongpublic InternalCompletableFuture<Long> addAndGetAsync(long delta)
addAndGetAsync in interface IAtomicLongpublic InternalCompletableFuture<Boolean> compareAndSetAsync(long expect, long update)
compareAndSetAsync in interface IAtomicLongpublic InternalCompletableFuture<Long> decrementAndGetAsync()
decrementAndGetAsync in interface IAtomicLongpublic InternalCompletableFuture<Long> getAsync()
getAsync in interface IAtomicLongpublic InternalCompletableFuture<Long> getAndAddAsync(long delta)
getAndAddAsync in interface IAtomicLongpublic InternalCompletableFuture<Long> getAndSetAsync(long newValue)
getAndSetAsync in interface IAtomicLongpublic InternalCompletableFuture<Long> incrementAndGetAsync()
incrementAndGetAsync in interface IAtomicLongpublic InternalCompletableFuture<Long> getAndIncrementAsync()
getAndIncrementAsync in interface IAtomicLongpublic InternalCompletableFuture<Void> setAsync(long newValue)
setAsync in interface IAtomicLongpublic InternalCompletableFuture<Void> alterAsync(IFunction<Long,Long> function)
alterAsync in interface IAtomicLongpublic InternalCompletableFuture<Long> alterAndGetAsync(IFunction<Long,Long> function)
alterAndGetAsync in interface IAtomicLongpublic InternalCompletableFuture<Long> getAndAlterAsync(IFunction<Long,Long> function)
getAndAlterAsync in interface IAtomicLongpublic <R> InternalCompletableFuture<R> applyAsync(IFunction<Long,R> function)
applyAsync in interface IAtomicLongpublic String getPartitionKey()
getPartitionKey in interface DistributedObjectgetPartitionKey in class ClientProxypublic void onDestroy()
ClientProxyonDestroy in class ClientProxypublic CPGroupId getGroupId()
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.