public class ClientConditionProxy extends ClientProxy implements ICondition
ICondition
.name
Constructor and Description |
---|
ClientConditionProxy(ClientLockProxy clientLockProxy,
String name,
ClientContext context) |
Modifier and Type | Method and Description |
---|---|
void |
await() |
boolean |
await(long time,
TimeUnit unit) |
long |
awaitNanos(long nanosTimeout) |
void |
awaitUninterruptibly() |
boolean |
awaitUntil(Date deadline) |
protected ClientMessage |
invokeOnPartition(ClientMessage req) |
protected <T> ClientDelegatingFuture<T> |
invokeOnPartitionAsync(ClientMessage clientMessage,
ClientMessageDecoder clientMessageDecoder) |
protected <T> T |
invokeOnPartitionInterruptibly(ClientMessage clientMessage) |
protected void |
onInitialize()
Called when proxy is created.
|
void |
signal() |
void |
signalAll() |
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, toObject
public ClientConditionProxy(ClientLockProxy clientLockProxy, String name, ClientContext context)
public void await() throws InterruptedException
await
in interface Condition
InterruptedException
public void awaitUninterruptibly()
awaitUninterruptibly
in interface Condition
public long awaitNanos(long nanosTimeout) throws InterruptedException
awaitNanos
in interface Condition
InterruptedException
public boolean await(long time, TimeUnit unit) throws InterruptedException
await
in interface Condition
InterruptedException
public boolean awaitUntil(Date deadline) throws InterruptedException
awaitUntil
in interface Condition
InterruptedException
protected void onInitialize()
ClientProxy
protected ClientMessage invokeOnPartition(ClientMessage req)
protected <T> T invokeOnPartitionInterruptibly(ClientMessage clientMessage) throws InterruptedException
InterruptedException
protected <T> ClientDelegatingFuture<T> invokeOnPartitionAsync(ClientMessage clientMessage, ClientMessageDecoder clientMessageDecoder)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.