Package org.apache.bookkeeper.client
Class EnsembleUtils
- java.lang.Object
-
- org.apache.bookkeeper.client.EnsembleUtils
-
class EnsembleUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EnsembleUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.util.Set<java.lang.Integer>
diffEnsemble(java.util.List<BookieId> e1, java.util.List<BookieId> e2)
(package private) static java.util.List<BookieId>
replaceBookiesInEnsemble(BookieWatcher bookieWatcher, LedgerMetadata metadata, java.util.List<BookieId> oldEnsemble, java.util.Map<java.lang.Integer,BookieId> failedBookies, java.lang.String logContext)
-
-
-
Method Detail
-
replaceBookiesInEnsemble
static java.util.List<BookieId> replaceBookiesInEnsemble(BookieWatcher bookieWatcher, LedgerMetadata metadata, java.util.List<BookieId> oldEnsemble, java.util.Map<java.lang.Integer,BookieId> failedBookies, java.lang.String logContext) throws BKException.BKNotEnoughBookiesException
-
-