public class CountDownLatchClientProxy extends Object implements ICountDownLatch
Instance.InstanceType| Constructor and Description |
|---|
CountDownLatchClientProxy(HazelcastClient hazelcastClient,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
await() |
boolean |
await(long timeout,
TimeUnit unit) |
void |
countDown() |
void |
destroy() |
int |
getCount() |
Object |
getId() |
Instance.InstanceType |
getInstanceType() |
LocalCountDownLatchStats |
getLocalCountDownLatchStats() |
String |
getName() |
Member |
getOwner() |
boolean |
hasCount() |
boolean |
setCount(int count) |
public CountDownLatchClientProxy(HazelcastClient hazelcastClient, String name)
public void await()
throws InstanceDestroyedException,
MemberLeftException,
InterruptedException
await in interface ICountDownLatchInstanceDestroyedExceptionMemberLeftExceptionInterruptedExceptionpublic boolean await(long timeout,
TimeUnit unit)
throws InstanceDestroyedException,
MemberLeftException,
InterruptedException
await in interface ICountDownLatchInstanceDestroyedExceptionMemberLeftExceptionInterruptedExceptionpublic void countDown()
countDown in interface ICountDownLatchpublic int getCount()
public Member getOwner()
public boolean hasCount()
hasCount in interface ICountDownLatchpublic boolean setCount(int count)
setCount in interface ICountDownLatchpublic Instance.InstanceType getInstanceType()
getInstanceType in interface Instancepublic String getName()
getName in interface ICountDownLatchpublic LocalCountDownLatchStats getLocalCountDownLatchStats()
getLocalCountDownLatchStats in interface ICountDownLatchCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.