public class CrossRackMovementGoal extends AbstractAcceptanceGoal
Goal.ClusterModelStatsComparator
_balancingConstraint, _finished, _minMonitoredPartitionPercentage, _numWindows, _succeeded
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.
|
java.lang.String |
name()
Get the name of this goal.
|
brokersToBalance, clusterModelCompletenessRequirements, clusterModelStatsComparator, finish, initGoalState, isHardGoal, rebalanceForBroker, selfSatisfied, updateGoalState
configure, maybeApplyBalancingAction, maybeMoveReplicaBetweenDisks, optimize, shouldExclude, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canChangeReplicationFactor
public ActionAcceptance actionAcceptance(BalancingAction action, ClusterModel clusterModel)
action
- Action to be checked for acceptance.clusterModel
- State of the cluster before application of the action.public java.lang.String name()
Goal
name
in interface Goal
name
in class AbstractGoal