public class ClientCountDownLatchProxy extends ClientProxy implements ICountDownLatch
name| Constructor and Description |
|---|
ClientCountDownLatchProxy(String serviceName,
String objectId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
await(long timeout,
TimeUnit unit) |
void |
countDown() |
int |
getCount() |
protected ClientMessage |
invokeOnPartition(ClientMessage req) |
protected <T> T |
invokeOnPartitionInterruptibly(ClientMessage clientMessage) |
protected void |
onInitialize()
Called when proxy is created.
|
String |
toString() |
boolean |
trySetCount(int count) |
deregisterListener, destroy, equals, getClient, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invokeOnPartition, invokeOnPartitionInterruptibly, onDestroy, onShutdown, registerListener, setContext, throwExceptionIfNull, toData, toObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, getName, getPartitionKey, getServiceNamepublic boolean await(long timeout,
TimeUnit unit)
throws InterruptedException
await in interface ICountDownLatchInterruptedExceptionpublic void countDown()
countDown in interface ICountDownLatchpublic int getCount()
getCount in interface ICountDownLatchpublic boolean trySetCount(int count)
trySetCount in interface ICountDownLatchprotected void onInitialize()
ClientProxyonInitialize in class ClientProxyprotected ClientMessage invokeOnPartition(ClientMessage req)
protected <T> T invokeOnPartitionInterruptibly(ClientMessage clientMessage) throws InterruptedException
InterruptedExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.