Source
pub async fn alter_tier( &self, name: String, ) -> Result<AlterTierResponse, KineticaError>
Alter an existing tier
Alters properties of an existing tier to facilitate resource management.
To disable watermark-based eviction, set both high_watermark and low_watermark to 100.
name- Name of the tier to be altered. Must be an existing tier group name: vram, ram, disk[n], persist, cold[n].
Source
pub async fn alter_tier_with_opts( &self, name: String, options: AlterTierRequestOptions, ) -> Result<AlterTierResponse, KineticaError>
Alter an existing tier
Alters properties of an existing tier to facilitate resource management.
To disable watermark-based eviction, set both high_watermark and low_watermark to 100.
name- Name of the tier to be altered. Must be an existing tier group name: vram, ram, disk[n], persist, cold[n].options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn alter_tier_raw( &self, request: &AlterTierRequest, ) -> Result<AlterTierResponse, KineticaError>
Sends a pre-built AlterTierRequest to the /alter/tier endpoint.
Source
pub async fn alter_tier_from_url( &self, url: &str, request: &AlterTierRequest, ) -> Result<AlterTierResponse, KineticaError>
Sends a pre-built AlterTierRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.