Interface MethodTracer


  • public interface MethodTracer
    Deprecated.
    A MethodTracerFactory can return a MethodTracer to be notified when a method invocation finishes.
    • 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, or null 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