Package com.newrelic.api.agent
Interface MethodTracer
-
public interface MethodTracerDeprecated.AMethodTracerFactorycan 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 voidmethodFinished(java.lang.Object returnValue)Deprecated.Called if a method exits successfully.voidmethodFinishedWithException(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, ornullif 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
-
-