Package org.apache.bookkeeper.client
Class EnsemblePlacementPolicy.PlacementResult<T>
- java.lang.Object
-
- org.apache.bookkeeper.client.EnsemblePlacementPolicy.PlacementResult<T>
-
- Enclosing interface:
- EnsemblePlacementPolicy
public static final class EnsemblePlacementPolicy.PlacementResult<T> extends java.lang.Object
Result of a placement calculation against a placement policy.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EnsemblePlacementPolicy.PlacementPolicyAdherence
getAdheringToPolicy()
T
getResult()
EnsemblePlacementPolicy.PlacementPolicyAdherence
isAdheringToPolicy()
Deprecated.static <T> EnsemblePlacementPolicy.PlacementResult<T>
of(T result, EnsemblePlacementPolicy.PlacementPolicyAdherence policyAdherence)
-
-
-
Method Detail
-
of
public static <T> EnsemblePlacementPolicy.PlacementResult<T> of(T result, EnsemblePlacementPolicy.PlacementPolicyAdherence policyAdherence)
-
getResult
public T getResult()
-
isAdheringToPolicy
@Deprecated public EnsemblePlacementPolicy.PlacementPolicyAdherence isAdheringToPolicy()
Deprecated.
-
getAdheringToPolicy
public EnsemblePlacementPolicy.PlacementPolicyAdherence getAdheringToPolicy()
-
-