Package | Description |
---|---|
org.apache.bookkeeper.client |
Modifier and Type | Method and Description |
---|---|
ArrayList<org.apache.bookkeeper.net.BookieSocketAddress> |
RackawareEnsemblePlacementPolicy.newEnsemble(int ensembleSize,
int writeQuorumSize,
Set<org.apache.bookkeeper.net.BookieSocketAddress> excludeBookies) |
ArrayList<org.apache.bookkeeper.net.BookieSocketAddress> |
EnsemblePlacementPolicy.newEnsemble(int ensembleSize,
int writeQuorumSize,
Set<org.apache.bookkeeper.net.BookieSocketAddress> excludeBookies)
Choose numBookies bookies for ensemble.
|
ArrayList<org.apache.bookkeeper.net.BookieSocketAddress> |
DefaultEnsemblePlacementPolicy.newEnsemble(int ensembleSize,
int quorumSize,
Set<org.apache.bookkeeper.net.BookieSocketAddress> excludeBookies) |
org.apache.bookkeeper.net.BookieSocketAddress |
RackawareEnsemblePlacementPolicy.replaceBookie(org.apache.bookkeeper.net.BookieSocketAddress bookieToReplace,
Set<org.apache.bookkeeper.net.BookieSocketAddress> excludeBookies) |
org.apache.bookkeeper.net.BookieSocketAddress |
EnsemblePlacementPolicy.replaceBookie(org.apache.bookkeeper.net.BookieSocketAddress bookieToReplace,
Set<org.apache.bookkeeper.net.BookieSocketAddress> excludeBookies)
Choose a new bookie to replace bookieToReplace.
|
org.apache.bookkeeper.net.BookieSocketAddress |
DefaultEnsemblePlacementPolicy.replaceBookie(org.apache.bookkeeper.net.BookieSocketAddress bookieToReplace,
Set<org.apache.bookkeeper.net.BookieSocketAddress> excludeBookies) |
protected RackawareEnsemblePlacementPolicy.BookieNode |
RackawareEnsemblePlacementPolicy.selectFromRack(String networkLoc,
Set<org.apache.bookkeeper.net.Node> excludeBookies,
RackawareEnsemblePlacementPolicy.Predicate predicate,
RackawareEnsemblePlacementPolicy.Ensemble ensemble) |
protected List<RackawareEnsemblePlacementPolicy.BookieNode> |
RackawareEnsemblePlacementPolicy.selectRandom(int numBookies,
Set<org.apache.bookkeeper.net.Node> excludeBookies,
RackawareEnsemblePlacementPolicy.Ensemble ensemble)
Choose a random node from whole cluster.
|
protected RackawareEnsemblePlacementPolicy.BookieNode |
RackawareEnsemblePlacementPolicy.selectRandomFromRack(String netPath,
Set<org.apache.bookkeeper.net.Node> excludeBookies,
RackawareEnsemblePlacementPolicy.Predicate predicate,
RackawareEnsemblePlacementPolicy.Ensemble ensemble)
Choose random node under a given network path.
|
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.