public class ClientAtomicLongProxy extends ClientProxy implements IAtomicLong
IAtomicLong.name| Constructor and Description |
|---|
ClientAtomicLongProxy(String serviceName,
String objectId,
ClientContext context) |
deregisterListener, destroy, destroyLocally, destroyRemotely, equals, getClient, getConnectedServerVersion, getContext, getDistributedObjectName, getId, getName, getPartitionKey, getSerializationService, getServiceName, hashCode, invoke, invoke, invokeOnAddress, invokeOnPartition, invokeOnPartitionInterruptibly, onDestroy, onShutdown, postDestroy, preDestroy, registerListener, setContext, toData, toObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNamedestroy, getPartitionKey, getServiceNamepublic ClientAtomicLongProxy(String serviceName, String objectId, ClientContext context)
public <R> R apply(IFunction<Long,R> function)
apply 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 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 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 IAtomicLongprotected void onInitialize()
ClientProxyonInitialize in class ClientProxyprotected ClientMessage invokeOnPartition(ClientMessage req)
protected <T> T invokeOnPartitionInterruptibly(ClientMessage clientMessage) throws InterruptedException
InterruptedExceptionprotected <T> ClientDelegatingFuture<T> invokeOnPartitionAsync(ClientMessage clientMessage, ClientMessageDecoder clientMessageDecoder)
protected <T> T invokeOnPartition(ClientMessage clientMessage, long invocationTimeoutSeconds)
protected <T> T invokeOnPartitionInterruptibly(ClientMessage clientMessage, long invocationTimeoutSeconds) throws InterruptedException
InterruptedExceptionCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.