Trait engine_traits::KvEngine [−][src]
A TiKV key-value store
Associated Types
Loading content...Required methods
fn snapshot(&self) -> Self::Snapshot[src]
Create a snapshot
fn sync(&self) -> Result<()>[src]
Syncs any writes to disk
fn bad_downcast<T: 'static>(&self) -> &T[src]
Cast to a concrete engine type
This only exists as a temporary hack during refactoring. It cannot be used forever.
Provided methods
fn flush_metrics(&self, _instance: &str)[src]
Flush metrics to prometheus
instance is the label of the metric to flush.
fn reset_statistics(&self)[src]
Reset internal statistics