public class CpuUsageDistributionGoal extends ResourceDistributionGoal
ResourceDistributionAbstractGoal.ChangeType
fixOfflineReplicasOnly, initialResourceDistribution, moveImmigrantsOnly, requireLessLoad, requireMoreLoad, thresholds
balancingConstraint, finished, minMonitoredPartitionPercentage, numWindows, optimizationResultBuilder, proposalStatsBuilder
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()
Whether to verify the validity of the resource utilization percentages.
|
brokersToBalance, doRebalance, finish, isRebalanceByMovingLoadInCompleted, isRebalanceByMovingLoadOutCompleted, replicaActionAcceptance, replicaActionSelfSatisfied, replicaFilter, updateGoalState
clusterModelCompletenessRequirements, clusterModelStatsComparator, initGoalState, isHardGoal, isLoadAboveBalanceLowerLimit, isLoadAboveBalanceLowerLimitAfterChange, isLoadUnderBalanceUpperLimit, isLoadUnderBalanceUpperLimitAfterChange, partitionActionAcceptance, partitionActionSelfSatisfied, performLeadershipMovement, performReplicaMovement, rebalanceForBroker, sortName
changeObservership, configure, maybeApplyBalancingAction, maybeApplyBalancingAction, maybeMoveReplicaBetweenDisks, optimize, proposalTrackingOptions, relocateReplica, selfSatisfied, shouldExclude, shouldExclude, shouldTryLeadershipMovement, 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()
ResourceDistributionAbstractGoal
name
in interface Goal
name
in class ResourceDistributionAbstractGoal
protected boolean validatePercentages()
ResourceDistributionAbstractGoal
validatePercentages
in class ResourceDistributionGoal