Skip to main content

HexastoreFlush

Trait HexastoreFlush 

Source
pub trait HexastoreFlush: Send + Sync {
    // Required method
    fn flush_memtables(
        &self,
        axis: PartitionAxis,
    ) -> impl Future<Output = Result<(), Status>> + Send;
}
Expand description

Flush MemTables to SST on one hexastore axis.

Required Methods§

Source

fn flush_memtables( &self, axis: PartitionAxis, ) -> impl Future<Output = Result<(), Status>> + Send

Ask axis to flush its RocksDB MemTables (no-op on memory backends).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§