pub trait TrackRocksDBMemory {
    // Provided methods
    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§

source

fn gather_memory_stats(&self)

Gather memory statistics through ckb-metrics

source

fn gather_int_values(&self, _: &str)

Gather integer values through ckb-metrics

Implementors§

source§

impl<RocksDB> TrackRocksDBMemory for RocksDBwhere RocksDB: GetColumnFamilys + GetProperty + GetPropertyCF,