pub struct QueryCacheStats {
pub total_count: u32,
pub cache_size: u32,
pub memory_size: Option<String>,
pub hit_count: u32,
pub cache_count: u32,
pub miss_count: u32,
pub evictions: u32,
pub memory_size_in_bytes: u32,
}Fields§
§total_count: u32The total number of hits and misses stored in the query cache across all shards assigned to the selected nodes.
cache_size: u32The total number of entries currently stored in the query cache across all shards assigned to the selected nodes.
memory_size: Option<String>§hit_count: u32The total number of query cache hits across all shards assigned to the selected nodes.
cache_count: u32The total number of entries added to the query cache across all shards assigned to the selected nodes. This number includes all current and evicted entries.
miss_count: u32The total number of query cache misses across all shards assigned to the selected nodes.
evictions: u32The total number of query cache evictions across all shards assigned to the selected nodes.
memory_size_in_bytes: u32Implementations§
Trait Implementations§
Source§impl Clone for QueryCacheStats
impl Clone for QueryCacheStats
Source§fn clone(&self) -> QueryCacheStats
fn clone(&self) -> QueryCacheStats
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 Debug for QueryCacheStats
impl Debug for QueryCacheStats
Source§impl Default for QueryCacheStats
impl Default for QueryCacheStats
Source§fn default() -> QueryCacheStats
fn default() -> QueryCacheStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryCacheStats
impl<'de> Deserialize<'de> for QueryCacheStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for QueryCacheStats
impl PartialEq for QueryCacheStats
Source§fn eq(&self, other: &QueryCacheStats) -> bool
fn eq(&self, other: &QueryCacheStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for QueryCacheStats
impl Serialize for QueryCacheStats
impl StructuralPartialEq for QueryCacheStats
Auto Trait Implementations§
impl Freeze for QueryCacheStats
impl RefUnwindSafe for QueryCacheStats
impl Send for QueryCacheStats
impl Sync for QueryCacheStats
impl Unpin for QueryCacheStats
impl UnsafeUnpin for QueryCacheStats
impl UnwindSafe for QueryCacheStats
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