Type Alias linera_views::backends::rocks_db::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 cache_size: usize,
}
Fields§
§inner_config: RocksDbStoreInternalConfig
The inner configuration of the LruCachingStore
.
cache_size: usize
The cache size being used
Implementations§
source§impl RocksDbStoreConfig
impl RocksDbStoreConfig
sourcepub fn new(
spawn_mode: RocksDbSpawnMode,
path_with_guard: PathWithGuard,
common_config: CommonStoreConfig,
) -> RocksDbStoreConfig
pub fn new( spawn_mode: RocksDbSpawnMode, path_with_guard: PathWithGuard, common_config: CommonStoreConfig, ) -> RocksDbStoreConfig
Creates a new RocksDbStoreConfig
from the input.