public class CpuUsageDistributionGoal extends ResourceDistributionGoal
ResourceDistributionGoal.ChangeType
Goal.ClusterModelStatsComparator
balancingConstraint, finished, minMonitoredPartitionPercentage, numWindows, optimizationResultBuilder, proposalStats
Constructor and Description |
---|
CpuUsageDistributionGoal()
Constructor for Resource Distribution Goal.
|
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name of this goal.
|
protected Resource |
resource() |
protected boolean |
validatePercentages() |
brokersToBalance, clusterModelCompletenessRequirements, clusterModelStatsComparator, finish, initGoalState, isHardGoal, partitionActionAcceptance, partitionActionSelfSatisfied, rebalanceForBroker, replicaActionAcceptance, replicaActionSelfSatisfied, updateGoalState
changeObservership, configure, maybeApplyBalancingAction, maybeMoveReplicaBetweenDisks, optimize, relocateReplica, selfSatisfied, shouldExclude, shouldExclude, toString, tryAcceptProposal, updateReplicationFactor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
actionAcceptance, canChangeReplicationFactor, optimize
public CpuUsageDistributionGoal()
protected Resource resource()
resource
in class ResourceDistributionGoal
public String name()
ResourceDistributionGoal
name
in interface Goal
name
in class ResourceDistributionGoal
protected boolean validatePercentages()
validatePercentages
in class ResourceDistributionGoal