com.hazelcast.client.proxy
Class ClientAtomicReferenceProxy<E>
java.lang.Object
com.hazelcast.client.spi.ClientProxy
com.hazelcast.client.proxy.ClientAtomicReferenceProxy<E>
- All Implemented Interfaces:
- DistributedObject, IAtomicReference<E>
public class ClientAtomicReferenceProxy<E>
- extends ClientProxy
- implements IAtomicReference<E>
| 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 |
ClientAtomicReferenceProxy
public ClientAtomicReferenceProxy(String serviceName,
String objectId)
apply
public <R> R apply(IFunction<E,R> function)
- Specified by:
apply in interface IAtomicReference<E>
alter
public void alter(IFunction<E,E> function)
- Specified by:
alter in interface IAtomicReference<E>
alterAndGet
public E alterAndGet(IFunction<E,E> function)
- Specified by:
alterAndGet in interface IAtomicReference<E>
getAndAlter
public E getAndAlter(IFunction<E,E> function)
- Specified by:
getAndAlter in interface IAtomicReference<E>
compareAndSet
public boolean compareAndSet(E expect,
E update)
- Specified by:
compareAndSet in interface IAtomicReference<E>
contains
public boolean contains(E expected)
- Specified by:
contains in interface IAtomicReference<E>
get
public E get()
- Specified by:
get in interface IAtomicReference<E>
set
public void set(E newValue)
- Specified by:
set in interface IAtomicReference<E>
clear
public void clear()
- Specified by:
clear in interface IAtomicReference<E>
getAndSet
public E getAndSet(E newValue)
- Specified by:
getAndSet in interface IAtomicReference<E>
setAndGet
public E setAndGet(E update)
- Specified by:
setAndGet in interface IAtomicReference<E>
isNull
public boolean isNull()
- Specified by:
isNull in interface IAtomicReference<E>
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.