Class FlowAdvice

java.lang.Object
fr.bl.drit.flow.agent.FlowAdvice

public final class FlowAdvice extends Object
Contains the enter and exit Advice methods. Their code is inserted at the start and end of instrumented methods, respectively.
  • Constructor Details

    • FlowAdvice

      public FlowAdvice()
  • Method Details

    • enter

      @OnMethodEnter(inline=false) public static void enter(long methodId)
      Record entering an instrumented method.
      Parameters:
      methodId - The ID of the instrumented method
    • exit

      @OnMethodExit(inline=false, onThrowable=java.lang.Throwable.class) public static void exit()
      Record exiting an instrumented method.