Package org.apache.bookkeeper.client
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addBookie(int bookieIndexHeardFrom, int rc)
Add a bookie to the result set.boolean
checkCovered()
check if all quorum in the set have had the action performed for it.
-
-
-
Method Detail
-
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
-
-