public class QosAggregator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
QosAggregator.AggMode |
Modifier and Type | Field and Description |
---|---|
(package private) static int |
h |
Constructor and Description |
---|
QosAggregator() |
Modifier and Type | Method and Description |
---|---|
(package private) static float[] |
AggregatePath(org.kie.api.definition.process.Node curNode,
QosAggregator.AggMode mode,
java.lang.String attrName)
Returns the aggregated value for the sequence that starts with curNode
and ends at an EndNode or a Split.
|
(package private) static java.lang.Object |
getQoSValue(java.lang.String serviceName,
java.lang.String attrName)
Returns the value for the associated QoS attribute and service, for the default QoS profile
|
static void |
main(java.lang.String[] args) |
public static void main(java.lang.String[] args)
static float[] AggregatePath(org.kie.api.definition.process.Node curNode, QosAggregator.AggMode mode, java.lang.String attrName)
curNode
- the starting node for the aggregationmode
- the aggregation mode, depending on the nature of the QoS attributeattrName
- the QoS attribute namestatic java.lang.Object getQoSValue(java.lang.String serviceName, java.lang.String attrName)
serviceName
- the name of the service (must be the same as the corresponding wssl file nameattrName
- the name of the QoS attribute