pub struct TierThresholds {
pub hot_to_warm: u16,
pub warm_to_dormant: u16,
pub dormant_to_cold: u16,
pub warm_to_hot: u16,
pub dormant_to_warm: u16,
}Expand description
Static fallback thresholds for tier transitions when the coherence
engine is absent (DC-1). All values are in basis points (0..=10_000).
Fields§
§hot_to_warm: u16Threshold for Hot -> Warm demotion.
If cut_value + recency_score drops below this, demote from Hot.
warm_to_dormant: u16Threshold for Warm -> Dormant demotion.
dormant_to_cold: u16Threshold for Dormant -> Cold demotion.
warm_to_hot: u16Threshold for Warm -> Hot promotion.
dormant_to_warm: u16Threshold for Dormant -> Warm promotion (triggers reconstruction).
Implementations§
Auto Trait Implementations§
impl Freeze for TierThresholds
impl RefUnwindSafe for TierThresholds
impl Send for TierThresholds
impl Sync for TierThresholds
impl Unpin for TierThresholds
impl UnsafeUnpin for TierThresholds
impl UnwindSafe for TierThresholds
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