Package org.apache.bookkeeper.client
Class TopologyAwareEnsemblePlacementPolicy.TruePredicate
- java.lang.Object
-
- org.apache.bookkeeper.client.TopologyAwareEnsemblePlacementPolicy.TruePredicate
-
- All Implemented Interfaces:
ITopologyAwareEnsemblePlacementPolicy.Predicate<BookieNode>
- Enclosing class:
- TopologyAwareEnsemblePlacementPolicy
protected static class TopologyAwareEnsemblePlacementPolicy.TruePredicate extends java.lang.Object implements ITopologyAwareEnsemblePlacementPolicy.Predicate<BookieNode>
-
-
Field Summary
Fields Modifier and Type Field Description static TopologyAwareEnsemblePlacementPolicy.TruePredicate
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description protected
TruePredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(BookieNode candidate, ITopologyAwareEnsemblePlacementPolicy.Ensemble chosenNodes)
-
-
-
Field Detail
-
INSTANCE
public static final TopologyAwareEnsemblePlacementPolicy.TruePredicate INSTANCE
-
-
Method Detail
-
apply
public boolean apply(BookieNode candidate, ITopologyAwareEnsemblePlacementPolicy.Ensemble chosenNodes)
- Specified by:
apply
in interfaceITopologyAwareEnsemblePlacementPolicy.Predicate<BookieNode>
-
-