public class ClientConditionProxy extends ClientProxy implements ICondition
name
Constructor and Description |
---|
ClientConditionProxy(ClientLockProxy clientLockProxy,
String name,
ClientContext ctx) |
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 |
invokeOnPartitionInterruptibly(ClientMessage clientMessage) |
protected void |
onInitialize()
Called when proxy is created.
|
void |
signal() |
void |
signalAll() |
deregisterListener, destroy, equals, getClient, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invokeOnPartition, invokeOnPartitionInterruptibly, onDestroy, onShutdown, registerListener, setContext, throwExceptionIfNull, toData, toObject
public ClientConditionProxy(ClientLockProxy clientLockProxy, String name, ClientContext ctx)
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
onInitialize
in class ClientProxy
protected ClientMessage invokeOnPartition(ClientMessage req)
protected <T> T invokeOnPartitionInterruptibly(ClientMessage clientMessage) throws InterruptedException
InterruptedException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.