@Immutable public class PlanComputationOptions extends Object
Constructor and Description |
---|
PlanComputationOptions(boolean allowCapacityEstimation,
boolean excludeRecentlyDemotedBrokers,
boolean excludeRecentlyRemovedBrokers) |
Modifier and Type | Method and Description |
---|---|
boolean |
toAllowCapacityEstimation() |
boolean |
toExcludeRecentlyDemotedBrokers() |
boolean |
toExcludeRecentlyRemovedBrokers() |
public PlanComputationOptions(boolean allowCapacityEstimation, boolean excludeRecentlyDemotedBrokers, boolean excludeRecentlyRemovedBrokers)
allowCapacityEstimation
- Allow capacity estimation in cluster model if the requested broker capacity is unavailable.excludeRecentlyDemotedBrokers
- Exclude recently demoted brokers from proposal generation for leadership transfer.excludeRecentlyRemovedBrokers
- Exclude recently removed brokers from proposal generation for replica transfer.