Source
pub async fn admin_shutdown( &self, exit_type: String, authorization: String, ) -> Result<AdminShutdownResponse, KineticaError>
Stop the database server application
Exits the database server application.
exit_type- Reserved for future use. User can pass an empty string.authorization- No longer used. User can pass an empty string.
Source
pub async fn admin_shutdown_with_opts( &self, exit_type: String, authorization: String, options: AdminShutdownRequestOptions, ) -> Result<AdminShutdownResponse, KineticaError>
Stop the database server application
Exits the database server application.
exit_type- Reserved for future use. User can pass an empty string.authorization- No longer used. User can pass an empty string.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn admin_shutdown_raw( &self, request: &AdminShutdownRequest, ) -> Result<AdminShutdownResponse, KineticaError>
Sends a pre-built AdminShutdownRequest to the /admin/shutdown endpoint.
Source
pub async fn admin_shutdown_from_url( &self, url: &str, request: &AdminShutdownRequest, ) -> Result<AdminShutdownResponse, KineticaError>
Sends a pre-built AdminShutdownRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.