public class ClientAtomicReferenceProxy<E> extends ClientProxy implements IAtomicReference<E>
| Constructor and Description |
|---|
ClientAtomicReferenceProxy(String serviceName,
String objectId) |
| Modifier and Type | Method and Description |
|---|---|
void |
alter(IFunction<E,E> function) |
E |
alterAndGet(IFunction<E,E> function) |
<R> R |
apply(IFunction<E,R> function) |
void |
clear() |
boolean |
compareAndSet(E expect,
E update) |
boolean |
contains(E expected) |
E |
get() |
E |
getAndAlter(IFunction<E,E> function) |
E |
getAndSet(E newValue) |
protected <T> T |
invoke(ClientRequest req) |
boolean |
isNull() |
void |
set(E newValue) |
E |
setAndGet(E update) |
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, waitdestroy, getName, getPartitionKey, getServiceNamepublic <R> R apply(IFunction<E,R> function)
apply in interface IAtomicReference<E>public void alter(IFunction<E,E> function)
alter in interface IAtomicReference<E>public E alterAndGet(IFunction<E,E> function)
alterAndGet in interface IAtomicReference<E>public E getAndAlter(IFunction<E,E> function)
getAndAlter in interface IAtomicReference<E>public boolean compareAndSet(E expect, E update)
compareAndSet in interface IAtomicReference<E>public boolean contains(E expected)
contains in interface IAtomicReference<E>public E get()
get in interface IAtomicReference<E>public void set(E newValue)
set in interface IAtomicReference<E>public void clear()
clear in interface IAtomicReference<E>public E getAndSet(E newValue)
getAndSet in interface IAtomicReference<E>public E setAndGet(E update)
setAndGet in interface IAtomicReference<E>public boolean isNull()
isNull in interface IAtomicReference<E>protected <T> T invoke(ClientRequest req)
invoke in class ClientProxyCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.