linera_views::backends::rocks_db

Type Alias RocksDbStoreConfig

Source
pub type RocksDbStoreConfig = LruCachingConfig<RocksDbStoreInternalConfig>;
Expand description

The composed config type for the RocksDbStore

Aliased Type§

struct RocksDbStoreConfig {
    pub inner_config: RocksDbStoreInternalConfig,
    pub storage_cache_config: StorageCacheConfig,
}

Fields§

§inner_config: RocksDbStoreInternalConfig

The inner configuration of the LruCachingStore.

§storage_cache_config: StorageCacheConfig

The cache size being used

Implementations§

Source§

impl RocksDbStoreConfig

Source

pub fn new( spawn_mode: RocksDbSpawnMode, path_with_guard: PathWithGuard, common_config: CommonStoreConfig, ) -> RocksDbStoreConfig

Creates a new RocksDbStoreConfig from the input.