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