public class AckCollector extends Object
Constructor and Description |
---|
AckCollector() |
AckCollector(ViewId v,
List<Object> l) |
Modifier and Type | Method and Description |
---|---|
void |
ack(Object member) |
int |
expectedAcks() |
void |
handleView(View v) |
String |
printMissing() |
static String |
printReceived()
Deprecated.
|
String |
printSuspected() |
static int |
receivedAcks()
Deprecated.
|
void |
reset(Collection<Address> members) |
int |
size() |
void |
suspect(Address member) |
String |
toString() |
void |
unsuspect(Address member) |
boolean |
waitForAllAcks() |
boolean |
waitForAllAcks(long timeout) |
public String printMissing()
@Deprecated public static String printReceived()
public String printSuspected()
public void reset(Collection<Address> members)
public int size()
@Deprecated public static int receivedAcks()
public int expectedAcks()
public void ack(Object member)
public void suspect(Address member)
public void unsuspect(Address member)
public void handleView(View v)
public boolean waitForAllAcks()
public boolean waitForAllAcks(long timeout) throws TimeoutException
TimeoutException
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.