public final class RootCalculationDriver extends ResourceCalculationDriver
batchRemainingResourcePerLabel, calculators, definedResources, normalizedResourceRatioPerLabel, overallRemainingResourcePerLabel, queue, roundingStrategy, sumWeightsPerLabel, updateContext, usedResourceByCurrentCalculatorPerLabel| Constructor | Description |
|---|---|
RootCalculationDriver(CSQueue rootQueue,
QueueCapacityUpdateContext updateContext,
AbstractQueueCapacityCalculator rootCalculator,
java.util.Collection<java.lang.String> definedResources) |
| Modifier and Type | Method | 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, incrementWeightpublic RootCalculationDriver(CSQueue rootQueue, QueueCapacityUpdateContext updateContext, AbstractQueueCapacityCalculator rootCalculator, java.util.Collection<java.lang.String> definedResources)
public void calculateResources()
ResourceCalculationDrivercalculateResources in class ResourceCalculationDriverCopyright © 2008–2025 Apache Software Foundation. All rights reserved.