public class ArmMetricGroup extends ArmInterface implements ArmMetricGroup
| Modifier and Type | Field and Description |
|---|---|
protected ArmMetricGroupDefinition |
m_definition |
protected ArmMetric[] |
m_metrics |
protected boolean[] |
m_metricValid |
m_errorCode, m_factory| Constructor and Description |
|---|
ArmMetricGroup(ArmMetricGroupDefinition groupDefinition,
ArmMetric[] metric_instances)
Create ARM Metric Group.
|
| Modifier and Type | Method and Description |
|---|---|
ArmMetricGroupDefinition |
getDefinition() |
ArmMetric |
getMetric(int index) |
boolean |
isMetricValid(int index) |
int |
setMetricValid(int index,
boolean value)
Indicates whether an
ArmMetric subclass at this array
index is valid. |
getErrorCode, getErrorMessage, getFactory, setErrorCode, setFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetErrorCode, getErrorMessage, setErrorCodeprotected ArmMetric[] m_metrics
protected boolean[] m_metricValid
protected ArmMetricGroupDefinition m_definition
public ArmMetricGroup(ArmMetricGroupDefinition groupDefinition, ArmMetric[] metric_instances)
groupDefinition - metric_instances - public ArmMetricGroupDefinition getDefinition()
getDefinition in interface ArmMetricGrouppublic ArmMetric getMetric(int index)
getMetric in interface ArmMetricGroupindex - the index into the ArmMetric array. See
comment in the interface description above.public boolean isMetricValid(int index)
isMetricValid in interface ArmMetricGroupindex - the index into the ArmMetric array. See
comment in the interface description above.public int setMetricValid(int index,
boolean value)
ArmMetricGroupArmMetric subclass at this array
index is valid.
This applies when any of the following calls are made:
ArmTranReportWithMetrics: report()ArmTransactionWithMetrics: start(), update(),
stop()setMetricValid in interface ArmMetricGroupindex - index the index into the ArmMetric array. See
comment in the interface description above.value - If the valid flag is set then the metric value is
processed.ArmInterface).