pub enum JvmJfrCommand {
Start {
duration_secs: u64,
settings: JfrSettingsArg,
i_accept_the_risk: bool,
project: String,
},
Status {
project: String,
},
Stop {
output: Option<PathBuf>,
project: String,
},
}Variants§
Start
Start a flight recording named ign-cli — memory-buffered
(nothing touches gateway disk until stop dumps) and
duration-capped so it auto-stops even if you forget. Refused
without –i-accept-the-risk; duration HARD-CAPPED at 300s
Fields
duration_secs: u64Recording duration in seconds — the auto-stop deadline (default 60; 10–300, the cap is not configurable)
settings: JfrSettingsArgThe JDK’s bundled settings: default (lower overhead) or
profile (deeper, heavier)
Status
List the JVM’s flight recordings verbatim (READ-only — not gated; this is how you confirm a recording is really gone)
Stop
Stop the ign-cli recording, dump it, fetch the .jfr, and
delete the gateway-side file (cleanup — NOT gated: stopping
reduces risk and must never be refused). Dumps over 32 MiB
are left on the gateway with the remote path reported
Trait Implementations§
Source§impl Debug for JvmJfrCommand
impl Debug for JvmJfrCommand
Source§impl FromArgMatches for JvmJfrCommand
impl FromArgMatches for JvmJfrCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for JvmJfrCommand
impl Subcommand for JvmJfrCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand