com.hazelcast.client.proxy
Class ClientCountDownLatchProxy
java.lang.Object
com.hazelcast.client.spi.ClientProxy
com.hazelcast.client.proxy.ClientCountDownLatchProxy
- All Implemented Interfaces:
- DistributedObject, ICountDownLatch
public class ClientCountDownLatchProxy
- extends ClientProxy
- implements ICountDownLatch
| 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 |
ClientCountDownLatchProxy
public ClientCountDownLatchProxy(String serviceName,
String objectId)
await
public boolean await(long timeout,
TimeUnit unit)
throws InterruptedException
- Specified by:
await in interface ICountDownLatch
- Throws:
InterruptedException
countDown
public void countDown()
- Specified by:
countDown in interface ICountDownLatch
getCount
public int getCount()
- Specified by:
getCount in interface ICountDownLatch
trySetCount
public boolean trySetCount(int count)
- Specified by:
trySetCount in interface ICountDownLatch
invoke
protected <T> T invoke(ClientRequest req)
- Overrides:
invoke in class ClientProxy
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.