Package org.jgroups.util
Class AckCollector
java.lang.Object
org.jgroups.util.AckCollector
Collects acks from a number of nodes, waits for all acks. Can also be time bounded
- Author:
- Bela Ban
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintvoidhandleView(View v) static StringDeprecated.static intDeprecated.voidreset(Collection<Address> members) intsize()voidtoString()voidbooleanbooleanwaitForAllAcks(long timeout)
-
Constructor Details
-
AckCollector
public AckCollector() -
AckCollector
-
-
Method Details
-
printMissing
-
printReceived
Deprecated. -
printSuspected
-
reset
-
size
public int size() -
receivedAcks
Deprecated. -
expectedAcks
public int expectedAcks() -
ack
-
suspect
-
unsuspect
-
handleView
-
waitForAllAcks
public boolean waitForAllAcks() -
waitForAllAcks
- Throws:
TimeoutException
-
toString
-