Package com.newrelic.agent.bridge
Interface ExitTracer
-
- All Superinterfaces:
com.newrelic.api.agent.AttributeHolder,java.lang.reflect.InvocationHandler,TracedMethod,com.newrelic.api.agent.TracedMethod
public interface ExitTracer extends java.lang.reflect.InvocationHandler, TracedMethod
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfinish(int opcode, java.lang.Object returnValue)Called after an invocation completes.voidfinish(java.lang.Throwable throwable)Called when a method invocation throws an exception.-
Methods inherited from interface com.newrelic.api.agent.AttributeHolder
addCustomAttribute, addCustomAttribute, addCustomAttribute, addCustomAttributes
-
Methods inherited from interface com.newrelic.agent.bridge.TracedMethod
addExclusiveRollupMetricName, addOutboundRequestHeaders, excludeLeaf, getParentTracedMethod, isMetricProducer, isTrackCallbackRunnable, nameTransaction, readInboundResponseHeaders, reportAsExternal, setCustomMetricPrefix, setMetricNameFormatInfo, setRollupMetricNames, setTrackCallbackRunnable, setTrackChildThreads, trackChildThreads
-
-
-
-
Method Detail
-
finish
void finish(int opcode, java.lang.Object returnValue)Called after an invocation completes.- Parameters:
opcode- the return code of the invocationreturnValue- the object returned by the invocation
-
finish
void finish(java.lang.Throwable throwable)
Called when a method invocation throws an exception.- Parameters:
throwable-
-
-