Class SystemMetrics
java.lang.Object
ai.attackframework.tools.burp.utils.SystemMetrics
JVM/process resource metrics sampled from the JMX
ManagementFactory beans.
Centralized so the periodic exporter stats snapshot, the Stats panel Misc Stats card, and
the plain-text stats summary all read identical values. JMX calls are cheap but may throw in
restricted environments; each field is collected independently and falls back to -1
(or NaN for CPU load) rather than propagating the failure.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordImmutable process-wide resource snapshot. -
Method Summary
Modifier and TypeMethodDescriptionstatic SystemMetrics.Snapshotsnapshot()Returnstruewhen any JMX field above reported a usable value.
-
Method Details
-
snapshot
Returnstruewhen any JMX field above reported a usable value.
-