pub struct TtlSweeperStats {
pub total_sampled: Arc<AtomicU64>,
pub total_expired: Arc<AtomicU64>,
pub total_runs: Arc<AtomicU64>,
pub last_run: Arc<AtomicU64>,
}
Expand description
Statistics for TTL sweeper operations
Fields§
§total_sampled: Arc<AtomicU64>
Total keys sampled
total_expired: Arc<AtomicU64>
Total keys expired
total_runs: Arc<AtomicU64>
Total cleaning runs
last_run: Arc<AtomicU64>
Last run timestamp (nanoseconds)
Auto Trait Implementations§
impl Freeze for TtlSweeperStats
impl RefUnwindSafe for TtlSweeperStats
impl Send for TtlSweeperStats
impl Sync for TtlSweeperStats
impl Unpin for TtlSweeperStats
impl UnwindSafe for TtlSweeperStats
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