public static interface ITopologyAwareEnsemblePlacementPolicy.Ensemble<T extends org.apache.bookkeeper.net.Node>
| Modifier and Type | Method and Description |
|---|---|
boolean |
addNode(T node)
Append the new bookie node to the ensemble only if the ensemble doesnt
already contain the same bookie.
|
java.util.List<org.apache.bookkeeper.net.BookieId> |
toList() |
boolean |
validate()
Validates if an ensemble is valid.
|
boolean addNode(T node)
node - new candidate bookie node.java.util.List<org.apache.bookkeeper.net.BookieId> toList()
boolean validate()
Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.