pub struct ThreadInfo {
pub name: String,
pub id: Option<i64>,
pub state: String,
pub daemon: bool,
pub system: String,
pub scope: String,
pub cpu_usage: Option<f64>,
pub waiting_for: Option<WaitingFor>,
pub stacktrace: Vec<String>,
pub locked_monitors: Vec<LockedMonitor>,
pub extra: BTreeMap<String, Value>,
}Expand description
One JVM thread from the formatted dump. Every field tolerates absence (spec caveat: “not all fields guaranteed”).
Fields§
§name: StringThe thread’s Java name (e.g. Perspective-Worker-3).
id: Option<i64>The JVM thread id (matches the deadlocks list’s ids).
state: Stringjava.lang.Thread.State verbatim (RUNNABLE, WAITING, …).
daemon: boolDaemon flag (false when absent).
system: StringSystem-thread marker string, verbatim (empty when absent).
scope: StringScope string, verbatim (empty when absent).
cpu_usage: Option<f64>CPU usage — PERCENT scale per the web UI’s column (absent when the gateway doesn’t report it).
waiting_for: Option<WaitingFor>The monitor the thread is waiting to acquire, when blocked
(waitingFor — the gateway’s verbatim camel key).
stacktrace: Vec<String>The thread’s stack trace, top frame first.
locked_monitors: Vec<LockedMonitor>Monitors this thread HOLDS with the frame that locked them —
the contention evidence the web UI shows as “locks X”
(lockedMonitors — the gateway’s verbatim camel key).
extra: BTreeMap<String, Value>Unknown keys round-trip (version tolerance).