public class DelegatingTraceDetails extends java.lang.Object implements TraceDetails
Constructor and Description |
---|
DelegatingTraceDetails(TraceDetails delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
async()
If true, transaction creation will be deferred
|
boolean |
dispatcher()
If true, a dispatcher tracer will be generated.
|
boolean |
excludeFromTransactionTrace()
This means the transaction trace is still present, but this method will be excluded from the call graph.
|
java.lang.String |
getFullMetricName(java.lang.String className,
java.lang.String methodName) |
java.util.List<ParameterAttributeName> |
getParameterAttributeNames()
Returns a list of method parameter attribute names.
|
boolean |
ignoreTransaction()
This means the whole transaction will be ignored, regardless of how far the code is into the transaction.
|
java.util.List<java.lang.String> |
instrumentationSourceNames()
The name of the instrumentation source such as the weave package implementation title, the custom xml name, the
pointcut name, etc.
|
java.util.List<com.newrelic.agent.instrumentation.InstrumentationType> |
instrumentationTypes()
The type of instrumentation that generated this trace.
|
boolean |
isCustom()
Returns true if this instrumentation was user generated.
|
boolean |
isLeaf() |
boolean |
isWebTransaction() |
java.lang.String |
metricName() |
java.lang.String |
metricPrefix() |
java.lang.String[] |
rollupMetricName() |
java.lang.String |
tracerFactoryName()
The tracer factory name.
|
TransactionName |
transactionName() |
public DelegatingTraceDetails(TraceDetails delegate)
public java.lang.String metricName()
metricName
in interface TraceDetails
Trace.metricName()
public boolean dispatcher()
TraceDetails
dispatcher
in interface TraceDetails
public boolean async()
TraceDetails
async
in interface TraceDetails
public java.lang.String tracerFactoryName()
TraceDetails
tracerFactoryName
in interface TraceDetails
Instrumentation#createTracer(Object, String, String, String, int, boolean, String, String, Object[])
public boolean excludeFromTransactionTrace()
TraceDetails
excludeFromTransactionTrace
in interface TraceDetails
Trace.excludeFromTransactionTrace()
public java.lang.String metricPrefix()
metricPrefix
in interface TraceDetails
public java.lang.String getFullMetricName(java.lang.String className, java.lang.String methodName)
getFullMetricName
in interface TraceDetails
public boolean ignoreTransaction()
TraceDetails
ignoreTransaction
in interface TraceDetails
Trace.skipTransactionTrace()
public boolean isCustom()
TraceDetails
isCustom
in interface TraceDetails
public TransactionName transactionName()
transactionName
in interface TraceDetails
public java.util.List<com.newrelic.agent.instrumentation.InstrumentationType> instrumentationTypes()
TraceDetails
instrumentationTypes
in interface TraceDetails
InstrumentationType
,
InstrumentedMethod#type()
public java.util.List<java.lang.String> instrumentationSourceNames()
TraceDetails
instrumentationSourceNames
in interface TraceDetails
InstrumentedMethod#name()
public boolean isWebTransaction()
isWebTransaction
in interface TraceDetails
public boolean isLeaf()
isLeaf
in interface TraceDetails
Trace.leaf()
public java.lang.String[] rollupMetricName()
rollupMetricName
in interface TraceDetails
public java.util.List<ParameterAttributeName> getParameterAttributeNames()
TraceDetails
getParameterAttributeNames
in interface TraceDetails