E - type of referenced objectpublic class ClientAtomicReferenceProxy<E> extends ClientProxy implements IAtomicReference<E>
IAtomicReference.name| Constructor and Description |
|---|
ClientAtomicReferenceProxy(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, waitdestroy, getName, getPartitionKey, getServiceNamepublic ClientAtomicReferenceProxy(String serviceName, String objectId, ClientContext context)
public <R> InternalCompletableFuture<R> applyAsync(IFunction<E,R> function)
applyAsync in interface IAtomicReference<E>public <R> R apply(IFunction<E,R> function)
apply in interface IAtomicReference<E>public InternalCompletableFuture<Void> alterAsync(IFunction<E,E> function)
alterAsync in interface IAtomicReference<E>public void alter(IFunction<E,E> function)
alter in interface IAtomicReference<E>public InternalCompletableFuture<E> alterAndGetAsync(IFunction<E,E> function)
alterAndGetAsync in interface IAtomicReference<E>public E alterAndGet(IFunction<E,E> function)
alterAndGet in interface IAtomicReference<E>public InternalCompletableFuture<E> getAndAlterAsync(IFunction<E,E> function)
getAndAlterAsync in interface IAtomicReference<E>public E getAndAlter(IFunction<E,E> function)
getAndAlter in interface IAtomicReference<E>public InternalCompletableFuture<Boolean> compareAndSetAsync(E expect, E update)
compareAndSetAsync in interface IAtomicReference<E>public boolean compareAndSet(E expect, E update)
compareAndSet in interface IAtomicReference<E>public InternalCompletableFuture<Boolean> containsAsync(E expected)
containsAsync in interface IAtomicReference<E>public boolean contains(E expected)
contains in interface IAtomicReference<E>public InternalCompletableFuture<E> getAsync()
getAsync in interface IAtomicReference<E>public E get()
get in interface IAtomicReference<E>public InternalCompletableFuture<Void> setAsync(E newValue)
setAsync in interface IAtomicReference<E>public void set(E newValue)
set in interface IAtomicReference<E>public InternalCompletableFuture<Void> clearAsync()
clearAsync in interface IAtomicReference<E>public void clear()
clear in interface IAtomicReference<E>public InternalCompletableFuture<E> getAndSetAsync(E newValue)
getAndSetAsync 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 InternalCompletableFuture<Boolean> isNullAsync()
isNullAsync in interface IAtomicReference<E>public boolean isNull()
isNull in interface IAtomicReference<E>protected 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)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.