public final class RootCalculationDriver extends ResourceCalculationDriver
batchRemainingResourcePerLabel, calculators, definedResources, normalizedResourceRatioPerLabel, overallRemainingResourcePerLabel, queue, roundingStrategy, sumWeightsPerLabel, updateContext, usedResourceByCurrentCalculatorPerLabel
Constructor and Description |
---|
RootCalculationDriver(CSQueue rootQueue,
QueueCapacityUpdateContext updateContext,
AbstractQueueCapacityCalculator rootCalculator,
Collection<String> definedResources) |
Modifier and Type | Method and Description |
---|---|
void |
calculateResources()
Calculates and sets the minimum and maximum effective resources for all children under the
parent queue with which this driver was initialized.
|
getBatchRemainingResource, getChildQueues, getNormalizedResourceRatios, getParentAbsoluteMaxCapacity, getParentAbsoluteMinCapacity, getQueue, getRemainingRatioOfResource, getSumWeightsByResource, getUpdateContext, incrementWeight
public RootCalculationDriver(CSQueue rootQueue, QueueCapacityUpdateContext updateContext, AbstractQueueCapacityCalculator rootCalculator, Collection<String> definedResources)
public void calculateResources()
ResourceCalculationDriver
calculateResources
in class ResourceCalculationDriver
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.