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 Detail

      • finish

        void finish​(int opcode,
                    java.lang.Object returnValue)
        Called after an invocation completes.
        Parameters:
        opcode - the return code of the invocation
        returnValue - the object returned by the invocation
      • finish

        void finish​(java.lang.Throwable throwable)
        Called when a method invocation throws an exception.
        Parameters:
        throwable -