Package com.newrelic.api.agent
Interface MethodTracer
-
public interface MethodTracer
Deprecated.AMethodTracerFactory
can return a MethodTracer to be notified when a method invocation finishes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
methodFinished(java.lang.Object returnValue)
Deprecated.Called if a method exits successfully.void
methodFinishedWithException(java.lang.Throwable exception)
Deprecated.Called if a method exits because of an uncaught exception.
-
-
-
Method Detail
-
methodFinished
void methodFinished(java.lang.Object returnValue)
Deprecated.Called if a method exits successfully.- Parameters:
returnValue
- The return value of the method invocation, ornull
if the return value is void.- Since:
- 2.3.0
-
methodFinishedWithException
void methodFinishedWithException(java.lang.Throwable exception)
Deprecated.Called if a method exits because of an uncaught exception.- Parameters:
exception
- The uncaught exception thrown during the method invocation.- Since:
- 2.3.0
-
-