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_status
ARM_SUCCESS, m_application, m_arrivalTime, m_contextUri, m_contextValues, m_currentCorrelator, m_definition, m_metricGroup, m_parentCorrelator, m_traceRequested, m_transactionHandle, m_user
m_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, report
bindThread, blocked, getContextURIValue, getContextValue, getCorrelator, getDefinition, getParentCorrelator, getUser, isTraceRequested, reset, setArrivalTime, setContextURIValue, setContextValue, setCorrelator, setParentCorrelator, setTraceRequested, setUser, start, start, start, start, stop, stop, unbindThread, unblocked, update
getErrorCode, getErrorMessage, getFactory, setErrorCode, setFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateCorrelator, getContextURIValue, getContextValue, getCorrelator, getDefinition, getParentCorrelator, getResponseTime, getStatus, getUser, report, report, report, report, setContextURIValue, setContextValue, setParentCorrelator, setUser
getErrorCode, getErrorMessage, setErrorCode
public ArmTranReportWithMetrics(ArmApplication app, ArmTransactionWithMetricsDefinition definition, ArmMetricGroup group, ArmFactory factory)
app
- definition
- group
- factory
- public ArmApplication getApplication()
ArmTransaction
newArmTransaction()
method of
ArmTransactionFactory
.getApplication
in interface ArmTranReport
getApplication
in interface ArmTransaction
getApplication
in class ArmTransaction
public ArmTransactionWithMetricsDefinition getTransactionWithMetricsDefinition()
getTransactionWithMetricsDefinition
in interface ArmTranReportWithMetrics
public ArmMetricGroup getMetricGroup()
ArmTransaction
getMetricGroup
in interface ArmTranReportWithMetrics
getMetricGroup
in class ArmTransaction
ArmTranReportWithMetrics
is created.
The returned value may be null.