public class ArmTranReportWithMetrics extends ArmTranReport implements ArmTranReportWithMetrics
ArmTranReport that is used if
the application wishes to use metrics.
All the ArmTranReport
rules for using report() apply to this interface.
It extends ArmTranReport by adding methods to manipulate
metrics. The ArmMetric subclass objects are bound to
an ArmTranReportWithMetrics object when it is created.
This is done by specifying ArmMetricGroup in the
newArmTranReportWithMetrics() method of
ArmMetricFactory.
Objects implementing this interface are created using
ArmMetricFactory.newArmTranReportWithMetrics(org.opengroup.arm40.transaction.ArmApplication, org.opengroup.arm40.metric.ArmTransactionWithMetricsDefinition, org.opengroup.arm40.metric.ArmMetricGroup).m_responseTime, m_statusARM_SUCCESS, m_application, m_arrivalTime, m_contextUri, m_contextValues, m_currentCorrelator, m_definition, m_metricGroup, m_parentCorrelator, m_traceRequested, m_transactionHandle, m_userm_errorCode, m_factory| Constructor and Description |
|---|
ArmTranReportWithMetrics(ArmApplication app,
ArmTransactionWithMetricsDefinition definition,
ArmMetricGroup group,
ArmFactory factory)
Create ARM Transaction Report with Metrics.
|
| Modifier and Type | Method and Description |
|---|---|
ArmApplication |
getApplication()
gets the contaning application instance.
|
ArmMetricGroup |
getMetricGroup()
Get the metric group.
|
ArmTransactionWithMetricsDefinition |
getTransactionWithMetricsDefinition() |
generateCorrelator, getResponseTime, getStatus, report, report, report, reportbindThread, blocked, getContextURIValue, getContextValue, getCorrelator, getDefinition, getParentCorrelator, getUser, isTraceRequested, reset, setArrivalTime, setContextURIValue, setContextValue, setCorrelator, setParentCorrelator, setTraceRequested, setUser, start, start, start, start, stop, stop, unbindThread, unblocked, updategetErrorCode, getErrorMessage, getFactory, setErrorCode, setFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateCorrelator, getContextURIValue, getContextValue, getCorrelator, getDefinition, getParentCorrelator, getResponseTime, getStatus, getUser, report, report, report, report, setContextURIValue, setContextValue, setParentCorrelator, setUsergetErrorCode, getErrorMessage, setErrorCodepublic ArmTranReportWithMetrics(ArmApplication app, ArmTransactionWithMetricsDefinition definition, ArmMetricGroup group, ArmFactory factory)
app - definition - group - factory - public ArmApplication getApplication()
ArmTransactionnewArmTransaction() method of
ArmTransactionFactory.getApplication in interface ArmTranReportgetApplication in interface ArmTransactiongetApplication in class ArmTransactionpublic ArmTransactionWithMetricsDefinition getTransactionWithMetricsDefinition()
getTransactionWithMetricsDefinition in interface ArmTranReportWithMetricspublic ArmMetricGroup getMetricGroup()
ArmTransactiongetMetricGroup in interface ArmTranReportWithMetricsgetMetricGroup in class ArmTransactionArmTranReportWithMetrics is created.
The returned value may be null.