public class ClientAtomicLongProxy extends ClientProxy implements IAtomicLong
| Constructor and Description |
|---|
ClientAtomicLongProxy(String serviceName,
String objectId) |
| Modifier and Type | Method and Description |
|---|---|
long |
addAndGet(long delta) |
void |
alter(IFunction<Long,Long> function) |
long |
alterAndGet(IFunction<Long,Long> function) |
<R> R |
apply(IFunction<Long,R> function) |
boolean |
compareAndSet(long expect,
long update) |
long |
decrementAndGet() |
long |
get() |
long |
getAndAdd(long delta) |
long |
getAndAlter(IFunction<Long,Long> function) |
long |
getAndIncrement() |
long |
getAndSet(long newValue) |
long |
incrementAndGet() |
protected <T> T |
invoke(ClientRequest req) |
void |
set(long newValue) |
String |
toString() |
deregisterListener, destroy, equals, getClient, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invokeInterruptibly, invokeOnPartition, onDestroy, onInitialize, onShutdown, registerListener, setContext, throwExceptionIfNull, toData, toObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNamedestroy, getPartitionKey, getServiceNamepublic <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 IAtomicLongprotected <T> T invoke(ClientRequest req)
invoke in class ClientProxyCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.