com.hazelcast.client
Class CountDownLatchClientProxy
java.lang.Object
com.hazelcast.client.CountDownLatchClientProxy
- All Implemented Interfaces:
- ICountDownLatch, Instance
public class CountDownLatchClientProxy
- extends Object
- implements ICountDownLatch
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountDownLatchClientProxy
public CountDownLatchClientProxy(HazelcastClient hazelcastClient,
String name)
await
public void await()
throws InstanceDestroyedException,
MemberLeftException,
InterruptedException
- Specified by:
await in interface ICountDownLatch
- Throws:
InstanceDestroyedException
MemberLeftException
InterruptedException
await
public boolean await(long timeout,
TimeUnit unit)
throws InstanceDestroyedException,
MemberLeftException,
InterruptedException
- Specified by:
await in interface ICountDownLatch
- Throws:
InstanceDestroyedException
MemberLeftException
InterruptedException
countDown
public void countDown()
- Specified by:
countDown in interface ICountDownLatch
getCount
public int getCount()
getOwner
public Member getOwner()
hasCount
public boolean hasCount()
- Specified by:
hasCount in interface ICountDownLatch
setCount
public boolean setCount(int count)
- Specified by:
setCount in interface ICountDownLatch
destroy
public void destroy()
- Specified by:
destroy in interface Instance
getId
public Object getId()
- Specified by:
getId in interface Instance
getInstanceType
public Instance.InstanceType getInstanceType()
- Specified by:
getInstanceType in interface Instance
getName
public String getName()
- Specified by:
getName in interface ICountDownLatch
getLocalCountDownLatchStats
public LocalCountDownLatchStats getLocalCountDownLatchStats()
- Specified by:
getLocalCountDownLatchStats in interface ICountDownLatch
Copyright © 2012 Hazel Bilisim Ltd.. All Rights Reserved.