Class AckCollector

java.lang.Object
org.jgroups.util.AckCollector

public class AckCollector extends Object
Collects acks from a number of nodes, waits for all acks. Can also be time bounded
Author:
Bela Ban
  • Constructor Details

    • AckCollector

      public AckCollector()
    • AckCollector

      public AckCollector(ViewId v, List<Object> l)
  • Method Details

    • printMissing

      public String printMissing()
    • printReceived

      @Deprecated public static String printReceived()
      Deprecated.
    • printSuspected

      public String printSuspected()
    • reset

      public void reset(Collection<Address> members)
    • size

      public int size()
    • receivedAcks

      @Deprecated public static int receivedAcks()
      Deprecated.
    • expectedAcks

      public int expectedAcks()
    • ack

      public void ack(Object member)
    • suspect

      public void suspect(Address member)
    • unsuspect

      public void unsuspect(Address member)
    • handleView

      public void handleView(View v)
    • waitForAllAcks

      public boolean waitForAllAcks()
    • waitForAllAcks

      public boolean waitForAllAcks(long timeout) throws TimeoutException
      Throws:
      TimeoutException
    • toString

      public String toString()
      Overrides:
      toString in class Object