Class FluxzeroJfr

java.lang.Object
io.fluxzero.common.jfr.FluxzeroJfr

public final class FluxzeroJfr extends Object
Shared low-overhead JFR events for Fluxzero batch operations across SDK and Runtime components.
  • Method Details

    • batchEnabled

      public static boolean batchEnabled()
      Returns whether batch diagnostics are enabled in the active recording.
    • startBatch

      public static FluxzeroJfr.Batch startBatch(String component, String operation, String messageType, int itemCount, long bytes, long queueDepth, long queueBytes)
      Starts one batch event, returning null without allocating an event when batch diagnostics are disabled.
    • finish

      public static void finish(FluxzeroJfr.Batch event, Throwable failure)
      Completes and conditionally commits a batch event.