public class ClientCountDownLatchProxy extends ClientProxy implements ICountDownLatch
| 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 <T> T |
invoke(ClientRequest req) |
String |
toString() |
boolean |
trySetCount(int count) |
destroy, equals, getClient, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invokeInterruptibly, invokeOnPartition, listen, listen, onDestroy, onInitialize, onShutdown, setContext, stopListening, throwExceptionIfNull, toData, toObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, getId, 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 <T> T invoke(ClientRequest req)
invoke in class ClientProxyCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.