Struct rsdb::Config [] [src]

pub struct Config { /* fields omitted */ }

Top-level configuration for the system.

Methods

impl Config
[src]

Get io_bufs

Get io_buf_size

Get blink_fanout

Get page_consolidation_threshold

Get path

Get the number of bits used for addressing cache shards.

Get the cache capacity in bytes.

Get whether the system uses the OS pagecache for compressed pages.

Get whether the system compresses data written to secondary storage with the zstd algorithm.

Get the number of milliseconds between flushes.

Set io_bufs

Set io_buf_size

Set blink_fanout

Set page_consolidation_threshold

Set path

Set the number of bits used for addressing cache shards.

Set the cache capacity in bytes.

Set whether the system uses the OS pagecache for compressed pages.

Set whether the system compresses data written to secondary storage with the zstd algorithm.

Set the number of milliseconds between flushes.

Builder, set number of io buffers

Builder, set the max io buffer size

Builder, set the b-link tree node fanout

Builder, set the pagecache consolidation threshold

Builder, set the filesystem path

Builder, set the number of bits used for addressing cache shards.

Builder, set the cache capacity in bytes.

Builder, set whether the system uses the OS pagecache for compressed pages.

Builder, set whether the system compresses data written to secondary storage with the zstd algorithm.

Builder, set the number of milliseconds between flushes.

create a new Tree based on this configuration

create a new LockFreeLog based on this configuration

Retrieve a thread-local file handle to the configured underlying storage, or create a new one if this is the first time the thread is accessing it.

Trait Implementations

impl Debug for Config
[src]

Formats the value using the given formatter.

impl Clone for Config
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Config
[src]

Returns the "default value" for a type. Read more