pub struct EscalationThresholds {
pub reject_low_priority: f64,
pub evict_caches: f64,
pub spill_operators: f64,
pub throttle_maintenance: f64,
pub hysteresis: f64,
}Expand description
The pressure thresholds at which each escalation level activates, plus the hysteresis band that keeps the level from flapping around a boundary.
Fractions of the configured maximum, in (0, 1], strictly increasing in
the S1E-003 escalation order.
Fields§
§reject_low_priority: f64Step 1: reject new low-priority work.
evict_caches: f64Step 2: evict reclaimable caches.
spill_operators: f64Step 3: spill eligible query operators (S1E-004 hook point).
throttle_maintenance: f64Step 4: throttle maintenance.
hysteresis: f64De-escalation band: a level drops only once pressure falls below its activation threshold minus this hysteresis.
Trait Implementations§
Source§impl Clone for EscalationThresholds
impl Clone for EscalationThresholds
Source§fn clone(&self) -> EscalationThresholds
fn clone(&self) -> EscalationThresholds
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EscalationThresholds
Source§impl Debug for EscalationThresholds
impl Debug for EscalationThresholds
Source§impl Default for EscalationThresholds
impl Default for EscalationThresholds
Source§impl<'de> Deserialize<'de> for EscalationThresholds
impl<'de> Deserialize<'de> for EscalationThresholds
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EscalationThresholds
impl PartialEq for EscalationThresholds
Source§impl Serialize for EscalationThresholds
impl Serialize for EscalationThresholds
impl StructuralPartialEq for EscalationThresholds
Auto Trait Implementations§
impl Freeze for EscalationThresholds
impl RefUnwindSafe for EscalationThresholds
impl Send for EscalationThresholds
impl Sync for EscalationThresholds
impl Unpin for EscalationThresholds
impl UnsafeUnpin for EscalationThresholds
impl UnwindSafe for EscalationThresholds
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more