Class AgentCallback

java.lang.Object
com.helix.agent.AgentCallback

public class AgentCallback extends Object
Thread-safe callback receiver invoked from instrumented bytecode during method entry, exit, or object allocation.
  • Constructor Details

    • AgentCallback

      public AgentCallback()
  • Method Details

    • onMethodEntry

      public static void onMethodEntry(String className, String methodName)
    • onMethodExit

      public static void onMethodExit(String className, String methodName)
    • recordAllocation

      public static void recordAllocation(String className, long bytes)
    • getThreadStats

      public static ExecutionStats getThreadStats()
    • clearThreadStats

      public static void clearThreadStats()