com.hazelcast.client.proxy
Class ClientConditionProxy
java.lang.Object
com.hazelcast.client.spi.ClientProxy
com.hazelcast.client.proxy.ClientConditionProxy
- All Implemented Interfaces:
- DistributedObject, ICondition, Condition
public class ClientConditionProxy
- extends ClientProxy
- implements ICondition
Methods inherited from class com.hazelcast.client.spi.ClientProxy |
destroy, equals, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invokeInterruptibly, listen, listen, onDestroy, onInitialize, onShutdown, setContext, stopListening, throwExceptionIfNull, toData, toObject |
ClientConditionProxy
public ClientConditionProxy(ClientLockProxy clientLockProxy,
String name,
ClientContext ctx)
await
public void await()
throws InterruptedException
- Specified by:
await
in interface Condition
- Throws:
InterruptedException
awaitUninterruptibly
public void awaitUninterruptibly()
- Specified by:
awaitUninterruptibly
in interface Condition
awaitNanos
public long awaitNanos(long nanosTimeout)
throws InterruptedException
- Specified by:
awaitNanos
in interface Condition
- Throws:
InterruptedException
await
public boolean await(long time,
TimeUnit unit)
throws InterruptedException
- Specified by:
await
in interface Condition
- Throws:
InterruptedException
awaitUntil
public boolean awaitUntil(Date deadline)
throws InterruptedException
- Specified by:
awaitUntil
in interface Condition
- Throws:
InterruptedException
signal
public void signal()
- Specified by:
signal
in interface Condition
signalAll
public void signalAll()
- Specified by:
signalAll
in interface Condition
invoke
protected <T> T invoke(ClientRequest req)
- Overrides:
invoke
in class ClientProxy
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.