pub struct MultiRangeTier { /* private fields */ }Implementations§
Source§impl MultiRangeTier
impl MultiRangeTier
pub fn new(config: MultiRangeConfig) -> Option<Self>
pub fn serve_metrics(&self) -> Vec<MultiServeMetrics>
pub fn complete_partitions(&self) -> Vec<usize>
pub fn insert( &self, table: EntryKind, key: EncodedKey, version: CommitVersion, value: Option<CowVec<u8>>, )
pub fn invalidate(&self, table: EntryKind, key: &EncodedKey)
pub fn clear(&self)
pub fn shard_metrics(&self) -> Vec<RangeShardMetrics>
pub fn full_shard_metrics(&self) -> Vec<MultiRangeShardMetrics>
pub fn materialize_scanned_chunk( &self, table: EntryKind, lo: &EncodedKey, through: &EncodedKey, entries: &[RawEntry], ) -> bool
pub fn serve_persistent_chunk( &self, table: EntryKind, cursor: &mut RangeCursor, start: &[u8], end: &[u8], scope: MultiVersionScope, batch_size: usize, descending: bool, ) -> ServedChunk
Trait Implementations§
Source§impl Clone for MultiRangeTier
impl Clone for MultiRangeTier
Source§fn clone(&self) -> MultiRangeTier
fn clone(&self) -> MultiRangeTier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl MetricsCollector for MultiRangeTier
impl MetricsCollector for MultiRangeTier
fn collect(&self, out: &mut Vec<MetricsSample>)
Auto Trait Implementations§
impl !RefUnwindSafe for MultiRangeTier
impl !UnwindSafe for MultiRangeTier
impl Freeze for MultiRangeTier
impl Send for MultiRangeTier
impl Sync for MultiRangeTier
impl Unpin for MultiRangeTier
impl UnsafeUnpin for MultiRangeTier
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