public class RaftCountDownLatchProxy extends ClientProxy implements ICountDownLatch
ICountDownLatchname| Constructor and Description |
|---|
RaftCountDownLatchProxy(ClientContext context,
RaftGroupId groupId,
String proxyName,
String objectName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
await(long timeout,
TimeUnit unit) |
void |
countDown() |
int |
getCount() |
CPGroupId |
getGroupId() |
String |
getPartitionKey() |
void |
onDestroy()
Called before proxy is destroyed.
|
boolean |
trySetCount(int count) |
deregisterListener, destroy, destroyLocally, destroyRemotely, equals, getClient, getConnectedServerVersion, getContext, getDistributedObjectName, getId, getName, getSerializationService, getServiceName, hashCode, invoke, invoke, invokeOnAddress, invokeOnPartition, invokeOnPartitionInterruptibly, onInitialize, onShutdown, postDestroy, preDestroy, registerListener, setContext, toData, toObjectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdestroy, getName, getServiceNamepublic RaftCountDownLatchProxy(ClientContext context, RaftGroupId groupId, String proxyName, String objectName)
public boolean await(long timeout,
TimeUnit unit)
await in interface ICountDownLatchpublic void countDown()
countDown in interface ICountDownLatchpublic int getCount()
getCount in interface ICountDownLatchpublic boolean trySetCount(int count)
trySetCount in interface ICountDownLatchpublic String getPartitionKey()
getPartitionKey in interface DistributedObjectgetPartitionKey in class ClientProxypublic CPGroupId getGroupId()
public void onDestroy()
ClientProxyonDestroy in class ClientProxyCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.