public class ClientCountDownLatchProxy extends ClientProxy implements ICountDownLatch
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> ClientDelegatingFuture<T> |
invokeOnPartitionAsync(ClientMessage clientMessage,
ClientMessageDecoder clientMessageDecoder) |
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, getDistributedObjectName, getId, getName, getPartitionKey, getSerializationService, getServiceName, hashCode, invoke, invoke, invokeOnPartition, invokeOnPartitionInterruptibly, onDestroy, onShutdown, postDestroy, preDestroy, registerListener, setContext, toData, toObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
destroy, getName, getPartitionKey, getServiceName
public boolean await(long timeout, TimeUnit unit) throws InterruptedException
await
in interface ICountDownLatch
InterruptedException
public void countDown()
countDown
in interface ICountDownLatch
public int getCount()
getCount
in interface ICountDownLatch
public boolean trySetCount(int count)
trySetCount
in interface ICountDownLatch
protected void onInitialize()
ClientProxy
onInitialize
in class ClientProxy
protected ClientMessage invokeOnPartition(ClientMessage req)
protected <T> T invokeOnPartitionInterruptibly(ClientMessage clientMessage) throws InterruptedException
InterruptedException
protected <T> ClientDelegatingFuture<T> invokeOnPartitionAsync(ClientMessage clientMessage, ClientMessageDecoder clientMessageDecoder)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.