|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.arm4.arm40.transaction.ArmInterface
org.arm4.arm40.transaction.ArmTransaction
org.arm4.arm40.tranreport.ArmTranReport
org.arm4.arm40.metric.ArmTranReportWithMetrics
public class ArmTranReportWithMetrics
A subclass of 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
.
ArmMetricFactory.newArmTranReportWithMetrics(org.opengroup.arm40.transaction.ArmApplication, org.opengroup.arm40.metric.ArmTransactionWithMetricsDefinition, org.opengroup.arm40.metric.ArmMetricGroup)
.
Field Summary |
---|
Fields inherited from class org.arm4.arm40.tranreport.ArmTranReport |
---|
m_responseTime, m_status |
Fields inherited from class org.arm4.arm40.transaction.ArmTransaction |
---|
ARM_SUCCESS, m_application, m_arrivalTime, m_contextUri, m_contextValues, m_currentCorrelator, m_definition, m_metricGroup, m_parentCorrelator, m_traceRequested, m_transactionHandle, m_user |
Fields inherited from class org.arm4.arm40.transaction.ArmInterface |
---|
m_errorCode, m_factory |
Constructor Summary | |
---|---|
ArmTranReportWithMetrics(ArmApplication app,
ArmTransactionWithMetricsDefinition definition,
ArmMetricGroup group,
ArmFactory factory)
Create ARM Transaction Report with Metrics. |
Method Summary | |
---|---|
ArmApplication |
getApplication()
gets the contaning application instance. |
ArmMetricGroup |
getMetricGroup()
Get the metric group. |
ArmTransactionWithMetricsDefinition |
getTransactionWithMetricsDefinition()
|
Methods inherited from class org.arm4.arm40.tranreport.ArmTranReport |
---|
generateCorrelator, getResponseTime, getStatus, report, report, report, report |
Methods inherited from class org.arm4.arm40.transaction.ArmTransaction |
---|
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 |
Methods inherited from class org.arm4.arm40.transaction.ArmInterface |
---|
getErrorCode, getErrorMessage, getFactory, setErrorCode, setFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opengroup.arm40.tranreport.ArmTranReport |
---|
generateCorrelator, getContextURIValue, getContextValue, getCorrelator, getDefinition, getParentCorrelator, getResponseTime, getStatus, getUser, report, report, report, report, setContextURIValue, setContextValue, setParentCorrelator, setUser |
Methods inherited from interface org.opengroup.arm40.transaction.ArmInterface |
---|
getErrorCode, getErrorMessage, setErrorCode |
Constructor Detail |
---|
public ArmTranReportWithMetrics(ArmApplication app, ArmTransactionWithMetricsDefinition definition, ArmMetricGroup group, ArmFactory factory)
app
- definition
- group
- factory
- Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |