Package org.apache.bookkeeper.client
Interface ITopologyAwareEnsemblePlacementPolicy.Predicate<T extends Node>
-
- All Known Implementing Classes:
TopologyAwareEnsemblePlacementPolicy.RRTopologyAwareCoverageEnsemble
,TopologyAwareEnsemblePlacementPolicy.TruePredicate
- Enclosing interface:
- ITopologyAwareEnsemblePlacementPolicy<T extends Node>
public static interface ITopologyAwareEnsemblePlacementPolicy.Predicate<T extends Node>
Predicate used when choosing an ensemble.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
apply(T candidate, ITopologyAwareEnsemblePlacementPolicy.Ensemble<T> chosenBookies)
-
-
-
Method Detail
-
apply
boolean apply(T candidate, ITopologyAwareEnsemblePlacementPolicy.Ensemble<T> chosenBookies)
-
-