com.hazelcast.client.proxy
Class ClientConditionProxy

java.lang.Object
  extended by com.hazelcast.client.spi.ClientProxy
      extended by com.hazelcast.client.proxy.ClientConditionProxy
All Implemented Interfaces:
DistributedObject, ICondition, Condition

public class ClientConditionProxy
extends ClientProxy
implements ICondition


Constructor Summary
ClientConditionProxy(ClientLockProxy clientLockProxy, String name, ClientContext ctx)
           
 
Method Summary
 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()
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientConditionProxy

public ClientConditionProxy(ClientLockProxy clientLockProxy,
                            String name,
                            ClientContext ctx)
Method Detail

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.