public class CrossRackMovementGoal extends AbstractAcceptanceGoal
Goal.ClusterModelStatsComparator
balancingConstraint, finished, minMonitoredPartitionPercentage, numWindows, optimizationResultBuilder
Constructor and Description |
---|
CrossRackMovementGoal() |
Modifier and Type | Method and Description |
---|---|
ActionAcceptance |
actionAcceptance(BalancingAction action,
ClusterModel clusterModel)
Check if the action will move data between racks, and reject it if it would.
|
String |
name()
Get the name of this goal.
|
brokersToBalance, clusterModelCompletenessRequirements, finish, initGoalState, isHardGoal, rebalanceForBroker, selfSatisfied, updateGoalState
changeObservership, configure, maybeApplyBalancingAction, maybeMoveReplicaBetweenDisks, optimize, shouldExclude, toString, updateReplicationFactor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canChangeReplicationFactor, clusterModelStatsComparator
public ActionAcceptance actionAcceptance(BalancingAction action, ClusterModel clusterModel)
action
- Action to be checked for acceptance.clusterModel
- State of the cluster before application of the action.