pub trait DbXxxBase {
    fn read_fill_buffer(&mut self) -> Result<()>;
    fn flush(&mut self) -> Result<()>;
    fn sync_all(&mut self) -> Result<()>;
    fn sync_data(&mut self) -> Result<()>;
}
Expand description

base interface for generic key-value map store interface. this is not include KT

Required Methods

read and fill buffer.

flush file buffer, the dirty intermediate buffered content is written.

synchronize all OS-internal metadata to storage.

synchronize data to storage, except file metadabe.

Implementors