protected static class RackawareEnsemblePlacementPolicy.EnsembleForReplacement extends Object implements RackawareEnsemblePlacementPolicy.Ensemble
Modifier and Type | Field and Description |
---|---|
static RackawareEnsemblePlacementPolicy.EnsembleForReplacement |
instance |
Modifier | Constructor and Description |
---|---|
protected |
RackawareEnsemblePlacementPolicy.EnsembleForReplacement() |
Modifier and Type | Method and Description |
---|---|
void |
addBookie(RackawareEnsemblePlacementPolicy.BookieNode node)
Append the new bookie node to the ensemble.
|
ArrayList<org.apache.bookkeeper.net.BookieSocketAddress> |
toList() |
public static final RackawareEnsemblePlacementPolicy.EnsembleForReplacement instance
protected RackawareEnsemblePlacementPolicy.EnsembleForReplacement()
public void addBookie(RackawareEnsemblePlacementPolicy.BookieNode node)
RackawareEnsemblePlacementPolicy.Ensemble
addBookie
in interface RackawareEnsemblePlacementPolicy.Ensemble
node
- new candidate bookie node.public ArrayList<org.apache.bookkeeper.net.BookieSocketAddress> toList()
toList
in interface RackawareEnsemblePlacementPolicy.Ensemble
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.