public class IncrementalCPUResourceDistributionGoal extends IncrementalResourceDistributionGoal
ResourceDistributionAbstractGoal.ChangeType
fixOfflineReplicasOnly, initialResourceDistribution, moveImmigrantsOnly, requireLessLoad, requireMoreLoad, thresholds
balancingConstraint, finished, minMonitoredPartitionPercentage, numWindows, optimizationResultBuilder, proposalStatsBuilder
Constructor and Description |
---|
IncrementalCPUResourceDistributionGoal() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Map<String,?> configs)
Configure this class with the given key-value pairs
|
String |
name()
Get the name of this goal.
|
protected ProposalObservabilityTrackingOptions |
proposalTrackingOptions()
Top proposal tracking enables goals to track the top
ProposalObservabilityTrackingOptions.maxNumberOfProposals proposals they generated, separated by the ones that were accepted and rejected. |
protected Resource |
resource() |
protected boolean |
validatePercentages()
Whether to verify the validity of the resource utilization percentages.
|
brokersToBalance, clusterModelCompletenessRequirements, doRebalance, initGoalState, isRebalanceByMovingLoadInCompleted, isRebalanceByMovingLoadOutCompleted, replicaActionAcceptance, replicaActionSelfSatisfied, updateGoalState
clusterModelStatsComparator, finish, isHardGoal, isLoadAboveBalanceLowerLimit, isLoadAboveBalanceLowerLimitAfterChange, isLoadUnderBalanceUpperLimit, isLoadUnderBalanceUpperLimitAfterChange, partitionActionAcceptance, partitionActionSelfSatisfied, performLeadershipMovement, performReplicaMovement, rebalanceForBroker, sortName
changeObservership, maybeApplyBalancingAction, maybeApplyBalancingAction, maybeMoveReplicaBetweenDisks, optimize, relocateReplica, selfSatisfied, shouldExclude, shouldExclude, shouldTryLeadershipMovement, toString, tryAcceptProposal, updateReplicationFactor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
actionAcceptance, canChangeReplicationFactor, optimize
public IncrementalCPUResourceDistributionGoal()
public String name()
ResourceDistributionAbstractGoal
name
in interface Goal
name
in class ResourceDistributionAbstractGoal
public void configure(Map<String,?> configs)
CruiseControlConfigurable
configure
in interface CruiseControlConfigurable
configure
in class IncrementalResourceDistributionGoal
protected Resource resource()
resource
in class ResourceDistributionAbstractGoal
protected boolean validatePercentages()
ResourceDistributionAbstractGoal
validatePercentages
in class ResourceDistributionAbstractGoal
protected ProposalObservabilityTrackingOptions proposalTrackingOptions()
ProposalObservabilityTrackingOptions.maxNumberOfProposals
proposals they generated, separated by the ones that were accepted and rejected.
A top proposal is defined as one that moves the most amount of resource load.
It is up to each implementation to potentially enable this functionality.proposalTrackingOptions
in class AbstractGoal
ProposalObservabilityTrackingOptions
.