Class FluxzeroJfr
java.lang.Object
io.fluxzero.common.jfr.FluxzeroJfr
Shared low-overhead JFR events for Fluxzero batch operations across SDK and Runtime components.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOne completed batch operation in the SDK or Runtime pipeline. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanReturns whether batch diagnostics are enabled in the active recording.static voidfinish(FluxzeroJfr.Batch event, Throwable failure) Completes and conditionally commits a batch event.static FluxzeroJfr.BatchstartBatch(String component, String operation, String messageType, int itemCount, long bytes, long queueDepth, long queueBytes) Starts one batch event, returningnullwithout allocating an event when batch diagnostics are disabled.
-
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, returningnullwithout allocating an event when batch diagnostics are disabled. -
finish
Completes and conditionally commits a batch event.
-