Interface DistributionSchedule.QuorumCoverageSet

Enclosing interface:
DistributionSchedule

public static interface DistributionSchedule.QuorumCoverageSet
Interface to keep track of which bookies in an ensemble, an action has been performed for.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addBookie(int bookieIndexHeardFrom, int rc)
    Add a bookie to the result set.
    boolean
    check if all quorum in the set have had the action performed for it.
  • Method Details

    • addBookie

      void addBookie(int bookieIndexHeardFrom, int rc)
      Add a bookie to the result set.
      Parameters:
      bookieIndexHeardFrom - Bookie we've just heard from
    • checkCovered

      boolean checkCovered()
      check if all quorum in the set have had the action performed for it.
      Returns:
      whether all quorums have been covered