public class DistributedCountDownLatch extends Object implements DataSerializable
| Modifier and Type | Field and Description |
|---|---|
static Data |
newInstanceData |
| Constructor and Description |
|---|
DistributedCountDownLatch() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
countDown() |
int |
getCount() |
Address |
getOwnerAddress() |
boolean |
isOwnerOrMemberAddress(Address deadAddress) |
boolean |
ownerLeft() |
void |
readData(DataInput in) |
boolean |
setCount(int count,
Address memberAddress,
Address ownerAddress) |
void |
setOwnerLeft() |
String |
toString() |
void |
writeData(DataOutput out) |
public static final Data newInstanceData
public void readData(DataInput in) throws IOException
readData in interface DataSerializableIOExceptionpublic void writeData(DataOutput out) throws IOException
writeData in interface DataSerializableIOExceptionpublic boolean countDown()
public int getCount()
public Address getOwnerAddress()
public boolean isOwnerOrMemberAddress(Address deadAddress)
public boolean ownerLeft()
public void setOwnerLeft()
Copyright © 2013 Hazelcast, Inc.. All rights reserved.