Class JfrEventRecorder

java.lang.Object
com.helix.profiler.jfr.JfrEventRecorder

public class JfrEventRecorder extends Object
Service for emitting custom Helix JFR events to Flight Recorder.
  • Constructor Details

    • JfrEventRecorder

      public JfrEventRecorder()
  • Method Details

    • recordExecution

      public void recordExecution(String ruleName, String ruleVersion, boolean success, long durationNanos, String errorMessage)
    • recordCompilation

      public void recordCompilation(String ruleName, String generatorType, long compilationTimeNanos, int bytecodeSizeBytes, boolean success)
    • recordClassLoaderCreated

      public void recordClassLoaderCreated(String loaderId, String isolationMode, String parentLoaderName)
    • recordCacheEviction

      public void recordCacheEviction(String ruleName, String cacheTier, String evictionReason)
    • recordMemoryAnalysis

      public void recordMemoryAnalysis(String className, long shallowSizeBytes, long deepSizeBytes, boolean compressedOopsEnabled)
    • recordNodeProfile

      public void recordNodeProfile(String ruleName, String nodeId, long executionCount, double avgCostNanos, double failureRate, double ratio)