com.hazelcast.client.proxy
Class ClientAtomicLongProxy
java.lang.Object
com.hazelcast.client.spi.ClientProxy
com.hazelcast.client.proxy.ClientAtomicLongProxy
- All Implemented Interfaces:
- DistributedObject, IAtomicLong
public class ClientAtomicLongProxy
- extends ClientProxy
- implements IAtomicLong
| Methods inherited from class com.hazelcast.client.spi.ClientProxy |
destroy, equals, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invokeInterruptibly, listen, listen, onDestroy, onInitialize, onShutdown, setContext, stopListening, throwExceptionIfNull, toData, toObject |
ClientAtomicLongProxy
public ClientAtomicLongProxy(String serviceName,
String objectId)
apply
public <R> R apply(IFunction<Long,R> function)
- Specified by:
apply in interface IAtomicLong
alter
public void alter(IFunction<Long,Long> function)
- Specified by:
alter in interface IAtomicLong
alterAndGet
public long alterAndGet(IFunction<Long,Long> function)
- Specified by:
alterAndGet in interface IAtomicLong
getAndAlter
public long getAndAlter(IFunction<Long,Long> function)
- Specified by:
getAndAlter in interface IAtomicLong
addAndGet
public long addAndGet(long delta)
- Specified by:
addAndGet in interface IAtomicLong
compareAndSet
public boolean compareAndSet(long expect,
long update)
- Specified by:
compareAndSet in interface IAtomicLong
decrementAndGet
public long decrementAndGet()
- Specified by:
decrementAndGet in interface IAtomicLong
get
public long get()
- Specified by:
get in interface IAtomicLong
getAndAdd
public long getAndAdd(long delta)
- Specified by:
getAndAdd in interface IAtomicLong
getAndSet
public long getAndSet(long newValue)
- Specified by:
getAndSet in interface IAtomicLong
incrementAndGet
public long incrementAndGet()
- Specified by:
incrementAndGet in interface IAtomicLong
getAndIncrement
public long getAndIncrement()
- Specified by:
getAndIncrement in interface IAtomicLong
set
public void set(long newValue)
- Specified by:
set in interface IAtomicLong
invoke
protected <T> T invoke(ClientRequest req)
- Overrides:
invoke in class ClientProxy
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.