Struct kvproto::pdpb::StoreStats [−][src]
Fields
store_id: u64
capacity: u64
available: u64
region_count: u32
sending_snap_count: u32
receiving_snap_count: u32
start_time: u32
applying_snap_count: u32
is_busy: bool
used_size: u64
bytes_written: u64
keys_written: u64
bytes_read: u64
keys_read: u64
interval: SingularPtrField<TimeInterval>
cpu_usages: RepeatedField<RecordPair>
read_io_rates: RepeatedField<RecordPair>
write_io_rates: RepeatedField<RecordPair>
op_latencies: RepeatedField<RecordPair>
peer_stats: RepeatedField<PeerStat>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl StoreStats
[src][−]
pub fn new() -> StoreStats
[src]
pub fn get_store_id(&self) -> u64
[src]
pub fn clear_store_id(&mut self)
[src]
pub fn set_store_id(&mut self, v: u64)
[src]
pub fn get_capacity(&self) -> u64
[src]
pub fn clear_capacity(&mut self)
[src]
pub fn set_capacity(&mut self, v: u64)
[src]
pub fn get_available(&self) -> u64
[src]
pub fn clear_available(&mut self)
[src]
pub fn set_available(&mut self, v: u64)
[src]
pub fn get_region_count(&self) -> u32
[src]
pub fn clear_region_count(&mut self)
[src]
pub fn set_region_count(&mut self, v: u32)
[src]
pub fn get_sending_snap_count(&self) -> u32
[src]
pub fn clear_sending_snap_count(&mut self)
[src]
pub fn set_sending_snap_count(&mut self, v: u32)
[src]
pub fn get_receiving_snap_count(&self) -> u32
[src]
pub fn clear_receiving_snap_count(&mut self)
[src]
pub fn set_receiving_snap_count(&mut self, v: u32)
[src]
pub fn get_start_time(&self) -> u32
[src]
pub fn clear_start_time(&mut self)
[src]
pub fn set_start_time(&mut self, v: u32)
[src]
pub fn get_applying_snap_count(&self) -> u32
[src]
pub fn clear_applying_snap_count(&mut self)
[src]
pub fn set_applying_snap_count(&mut self, v: u32)
[src]
pub fn get_is_busy(&self) -> bool
[src]
pub fn clear_is_busy(&mut self)
[src]
pub fn set_is_busy(&mut self, v: bool)
[src]
pub fn get_used_size(&self) -> u64
[src]
pub fn clear_used_size(&mut self)
[src]
pub fn set_used_size(&mut self, v: u64)
[src]
pub fn get_bytes_written(&self) -> u64
[src]
pub fn clear_bytes_written(&mut self)
[src]
pub fn set_bytes_written(&mut self, v: u64)
[src]
pub fn get_keys_written(&self) -> u64
[src]
pub fn clear_keys_written(&mut self)
[src]
pub fn set_keys_written(&mut self, v: u64)
[src]
pub fn get_bytes_read(&self) -> u64
[src]
pub fn clear_bytes_read(&mut self)
[src]
pub fn set_bytes_read(&mut self, v: u64)
[src]
pub fn get_keys_read(&self) -> u64
[src]
pub fn clear_keys_read(&mut self)
[src]
pub fn set_keys_read(&mut self, v: u64)
[src]
pub fn get_interval(&self) -> &TimeInterval
[src]
pub fn clear_interval(&mut self)
[src]
pub fn has_interval(&self) -> bool
[src]
pub fn set_interval(&mut self, v: TimeInterval)
[src]
pub fn mut_interval(&mut self) -> &mut TimeInterval
[src]
pub fn take_interval(&mut self) -> TimeInterval
[src]
pub fn get_cpu_usages(&self) -> &[RecordPair]
[src]
pub fn clear_cpu_usages(&mut self)
[src]
pub fn set_cpu_usages(&mut self, v: RepeatedField<RecordPair>)
[src]
pub fn mut_cpu_usages(&mut self) -> &mut RepeatedField<RecordPair>
[src]
pub fn take_cpu_usages(&mut self) -> RepeatedField<RecordPair>
[src]
pub fn get_read_io_rates(&self) -> &[RecordPair]
[src]
pub fn clear_read_io_rates(&mut self)
[src]
pub fn set_read_io_rates(&mut self, v: RepeatedField<RecordPair>)
[src]
pub fn mut_read_io_rates(&mut self) -> &mut RepeatedField<RecordPair>
[src]
pub fn take_read_io_rates(&mut self) -> RepeatedField<RecordPair>
[src]
pub fn get_write_io_rates(&self) -> &[RecordPair]
[src]
pub fn clear_write_io_rates(&mut self)
[src]
pub fn set_write_io_rates(&mut self, v: RepeatedField<RecordPair>)
[src]
pub fn mut_write_io_rates(&mut self) -> &mut RepeatedField<RecordPair>
[src]
pub fn take_write_io_rates(&mut self) -> RepeatedField<RecordPair>
[src]
pub fn get_op_latencies(&self) -> &[RecordPair]
[src]
pub fn clear_op_latencies(&mut self)
[src]
pub fn set_op_latencies(&mut self, v: RepeatedField<RecordPair>)
[src]
pub fn mut_op_latencies(&mut self) -> &mut RepeatedField<RecordPair>
[src]
pub fn take_op_latencies(&mut self) -> RepeatedField<RecordPair>
[src]
pub fn get_peer_stats(&self) -> &[PeerStat]
[src]
pub fn clear_peer_stats(&mut self)
[src]
pub fn set_peer_stats(&mut self, v: RepeatedField<PeerStat>)
[src]
pub fn mut_peer_stats(&mut self) -> &mut RepeatedField<PeerStat>
[src]
pub fn take_peer_stats(&mut self) -> RepeatedField<PeerStat>
[src]
Trait Implementations
impl Clear for StoreStats
[src][+]
impl Clone for StoreStats
[src][+]
impl Debug for StoreStats
[src][+]
impl Default for StoreStats
[src][+]
impl<'a> Default for &'a StoreStats
[src][+]
impl Message for StoreStats
[src][+]
impl PartialEq<StoreStats> for StoreStats
[src][+]
impl PbPrint for StoreStats
[src][+]
impl ProtobufValue for StoreStats
[src][+]
impl StructuralPartialEq for StoreStats
[src]
Auto Trait Implementations
impl RefUnwindSafe for StoreStats
impl Send for StoreStats
impl Sync for StoreStats
impl Unpin for StoreStats
impl UnwindSafe for StoreStats
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,