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> T |
invokeOnPartition(ClientMessage clientMessage,
long invocationTimeoutSeconds) |
protected <T> ClientDelegatingFuture<T> |
invokeOnPartitionAsync(ClientMessage clientMessage,
ClientMessageDecoder clientMessageDecoder) |
protected <T> T |
invokeOnPartitionInterruptibly(ClientMessage clientMessage) |
protected <T> T |
invokeOnPartitionInterruptibly(ClientMessage clientMessage,
long invocationTimeoutSeconds) |
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)
protected <T> T invokeOnPartition(ClientMessage clientMessage, long invocationTimeoutSeconds)
protected <T> T invokeOnPartitionInterruptibly(ClientMessage clientMessage, long invocationTimeoutSeconds) throws InterruptedException
InterruptedException
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.