[][src]Struct rocks::advanced_options::CompactionOptionsFIFO

#[repr(C)]pub struct CompactionOptionsFIFO { /* fields omitted */ }

Implementations

impl CompactionOptionsFIFO[src]

pub fn max_table_files_size(self, val: u64) -> Self[src]

once the total sum of table files reaches this, we will delete the oldest table file

Default: 1GB

pub fn allow_compaction(self, val: bool) -> Self[src]

If true, try to do compaction to compact smaller files into larger ones. Minimum files to compact follows options.level0_file_num_compaction_trigger and compaction won't trigger if average compact bytes per del file is larger than options.write_buffer_size. This is to protect large files from being compacted again.

Default: false

Trait Implementations

impl Default for CompactionOptionsFIFO[src]

impl Drop for CompactionOptionsFIFO[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.