public class CalculationContext
extends java.lang.Object
| Constructor | Description |
|---|---|
CalculationContext(java.lang.String resourceName,
QueueCapacityVector.ResourceUnitCapacityType capacityType,
CSQueue queue) |
| Modifier and Type | Method | Description |
|---|---|---|
QueueCapacityVector.ResourceUnitCapacityType |
getCapacityType() |
|
QueueCapacityVector.QueueCapacityVectorEntry |
getCurrentMaximumCapacityEntry(java.lang.String label) |
A shorthand to return the maximum capacity vector entry for the currently evaluated child and
resource name.
|
QueueCapacityVector.QueueCapacityVectorEntry |
getCurrentMinimumCapacityEntry(java.lang.String label) |
A shorthand to return the minimum capacity vector entry for the currently evaluated child and
resource name.
|
CSQueue |
getQueue() |
|
java.lang.String |
getResourceName() |
public CalculationContext(java.lang.String resourceName,
QueueCapacityVector.ResourceUnitCapacityType capacityType,
CSQueue queue)
public java.lang.String getResourceName()
public QueueCapacityVector.ResourceUnitCapacityType getCapacityType()
public CSQueue getQueue()
public QueueCapacityVector.QueueCapacityVectorEntry getCurrentMinimumCapacityEntry(java.lang.String label)
label - node labelpublic QueueCapacityVector.QueueCapacityVectorEntry getCurrentMaximumCapacityEntry(java.lang.String label)
label - node labelCopyright © 2008–2025 Apache Software Foundation. All rights reserved.