Trait ckb_memory_tracker::TrackRocksDBMemory [−][src]
pub trait TrackRocksDBMemory {
fn gather_memory_stats(&self) { ... }
fn gather_int_values(&self, _: &str) { ... }
}Expand description
A trait which used to track the RocksDB memory usage.
References: Memory usage in RocksDB
Provided methods
fn gather_memory_stats(&self)
fn gather_memory_stats(&self)
Gather memory statistics through ckb-metrics
fn gather_int_values(&self, _: &str)
fn gather_int_values(&self, _: &str)
Gather integer values through ckb-metrics