Source
pub async fn kill_proc( &self, run_id: String, ) -> Result<KillProcResponse, KineticaError>
Kill a running proc instance
Kills a running proc instance.
run_id- The run ID of a running proc instance. If a proc with a matching run ID is not found or the proc instance has already completed, no procs will be killed. If not specified, all running proc instances will be killed.
Source
pub async fn kill_proc_with_opts( &self, run_id: String, options: KillProcRequestOptions, ) -> Result<KillProcResponse, KineticaError>
Kill a running proc instance
Kills a running proc instance.
run_id- The run ID of a running proc instance. If a proc with a matching run ID is not found or the proc instance has already completed, no procs will be killed. If not specified, all running proc instances will be killed.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn kill_proc_raw( &self, request: &KillProcRequest, ) -> Result<KillProcResponse, KineticaError>
Sends a pre-built KillProcRequest to the /kill/proc endpoint.
Source
pub async fn kill_proc_from_url( &self, url: &str, request: &KillProcRequest, ) -> Result<KillProcResponse, KineticaError>
Sends a pre-built KillProcRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.