com.hazelcast.client.proxy
public class ClientConditionProxy extends ClientProxy implements ICondition
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 <T> T |
invoke(ClientRequest req) |
void |
signal() |
void |
signalAll() |
destroy, equals, getClient, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invokeInterruptibly, listen, listen, onDestroy, onInitialize, onShutdown, setContext, stopListening, 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 <T> T invoke(ClientRequest req)
invoke
in class ClientProxy
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.