pub struct TierConfig {
pub hot_threshold: Duration,
pub warm_threshold: Duration,
pub cold_threshold: Duration,
pub hot_max_bytes: usize,
pub warm_max_bytes: usize,
}Expand description
Tiered storage configuration
Fields§
§hot_threshold: DurationHot tier: blocks younger than this
warm_threshold: DurationWarm tier: blocks younger than this (but older than hot)
cold_threshold: DurationCold tier: blocks younger than this (but older than warm)
hot_max_bytes: usizeMaximum hot tier size in bytes
warm_max_bytes: usizeMaximum warm tier size in bytes
Trait Implementations§
Source§impl Clone for TierConfig
impl Clone for TierConfig
Source§fn clone(&self) -> TierConfig
fn clone(&self) -> TierConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TierConfig
impl Debug for TierConfig
Auto Trait Implementations§
impl Freeze for TierConfig
impl RefUnwindSafe for TierConfig
impl Send for TierConfig
impl Sync for TierConfig
impl Unpin for TierConfig
impl UnsafeUnpin for TierConfig
impl UnwindSafe for TierConfig
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