pub struct RowsExpiredEvent { /* private fields */ }Expand description
Emitted after a row TTL scan cycle completes.
Implementations§
Source§impl RowsExpiredEvent
impl RowsExpiredEvent
pub fn new( shapes_scanned: u64, shapes_skipped: u64, rows_expired: u64, versions_dropped: u64, bytes_discovered: HashMap<ShapeId, u64>, bytes_reclaimed: HashMap<ShapeId, u64>, ) -> Self
pub fn shapes_scanned(&self) -> &u64
pub fn shapes_skipped(&self) -> &u64
pub fn rows_expired(&self) -> &u64
pub fn versions_dropped(&self) -> &u64
pub fn bytes_discovered(&self) -> &HashMap<ShapeId, u64>
pub fn bytes_reclaimed(&self) -> &HashMap<ShapeId, u64>
Trait Implementations§
Source§impl Clone for RowsExpiredEvent
impl Clone for RowsExpiredEvent
Source§impl Debug for RowsExpiredEvent
impl Debug for RowsExpiredEvent
Auto Trait Implementations§
impl Freeze for RowsExpiredEvent
impl RefUnwindSafe for RowsExpiredEvent
impl Send for RowsExpiredEvent
impl Sync for RowsExpiredEvent
impl Unpin for RowsExpiredEvent
impl UnsafeUnpin for RowsExpiredEvent
impl UnwindSafe for RowsExpiredEvent
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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