pub struct RuntimeStats { /* private fields */ }Expand description
Atomic runtime counters for cache API calls.
Implementations§
Source§impl RuntimeStats
impl RuntimeStats
Sourcepub fn consume_snapshot(&self) -> RuntimeStatsSnapshot
pub fn consume_snapshot(&self) -> RuntimeStatsSnapshot
Return an immutable snapshot of the current runtime counters and reset the stats to 0.
Sourcepub fn incr_get_arrow_array(&self)
pub fn incr_get_arrow_array(&self)
Increment get_arrow_array counter.
Sourcepub fn incr_get_with_selection(&self)
pub fn incr_get_with_selection(&self)
Increment get_with_selection counter.
Sourcepub fn incr_get_with_predicate(&self)
pub fn incr_get_with_predicate(&self)
Increment get_with_predicate counter.
Sourcepub fn incr_try_read_liquid(&self)
pub fn incr_try_read_liquid(&self)
Increment try_read_liquid counter.
Sourcepub fn incr_get_predicate_hybrid_success(&self)
pub fn incr_get_predicate_hybrid_success(&self)
Increment Hybrid-Liquid predicate success counter.
Sourcepub fn incr_get_predicate_hybrid_needs_io(&self)
pub fn incr_get_predicate_hybrid_needs_io(&self)
Increment Hybrid-Liquid predicate needs-IO counter.
Sourcepub fn incr_get_predicate_hybrid_unsupported(&self)
pub fn incr_get_predicate_hybrid_unsupported(&self)
Increment Hybrid-Liquid predicate unsupported counter.
Trait Implementations§
Source§impl Debug for RuntimeStats
impl Debug for RuntimeStats
Source§impl Default for RuntimeStats
impl Default for RuntimeStats
Source§fn default() -> RuntimeStats
fn default() -> RuntimeStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for RuntimeStats
impl RefUnwindSafe for RuntimeStats
impl Send for RuntimeStats
impl Sync for RuntimeStats
impl Unpin for RuntimeStats
impl UnwindSafe for RuntimeStats
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> 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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request