org.opengroup.arm40.metric.ArmTransactionWithMetrics Interface Reference
[ARM 4.0 Metrics, ARM 4.0 Transactions]
A subclass of ArmTransaction
that is used if the application wishes to use metrics.
More...
Inheritance diagram for org.opengroup.arm40.metric.ArmTransactionWithMetrics:
Public Member Functions | |
ArmTransactionWithMetricsDefinition | getTransactionWithMetricsDefinition () |
ArmMetricGroup | getMetricGroup () |
Detailed Description
A subclass of ArmTransaction
that is used if the application wishes to use metrics.
All the org.opengroup.arm40.transaction.ArmTransaction rules for using start()
, stop()
, etc., apply to this interface. It extends ArmTransaction
by adding methods to manipulate metrics. The ArmMetric
subclass objects are bound to an ArmTransactionWithMetrics
object when it is created. This is done by specifying ArmMetricGroup
in the newArmTransactionWithMetrics()
method of ArmMetricFactory
.
Objects implementing this interface are created using ArmMetricFactory#newArmTransactionWithMetrics.
Member Function Documentation
ArmMetricGroup org.opengroup.arm40.metric.ArmTransactionWithMetrics.getMetricGroup | ( | ) |
- Returns:
- the object that was bound when
ArmTransactionWithMetrics
is created. The returned value may be null.
ArmTransactionWithMetricsDefinition org.opengroup.arm40.metric.ArmTransactionWithMetrics.getTransactionWithMetricsDefinition | ( | ) |
- Returns:
- the object that contains the metadata describing this transaction, including the metric definitions.
The documentation for this interface was generated from the following file:
- org/opengroup/arm40/metric/ArmTransactionWithMetrics.java