Cache configuration.
More...
◆ CacheConfiguration() [1/2]
| catapult::cache::CacheConfiguration::CacheConfiguration |
( |
| ) |
|
|
inline |
Creates a default cache configuration.
◆ CacheConfiguration() [2/2]
Creates a cache configuration around databaseDirectory, maxCacheDatabaseWriteBatchSize and specified patricia tree storage mode.
◆ CacheDatabaseDirectory
| std::string catapult::cache::CacheConfiguration::CacheDatabaseDirectory |
Base directory to use for storing cache database.
◆ MaxCacheDatabaseWriteBatchSize
| utils::FileSize catapult::cache::CacheConfiguration::MaxCacheDatabaseWriteBatchSize |
Maximum size of database write batch.
◆ ShouldStorePatriciaTrees
| bool catapult::cache::CacheConfiguration::ShouldStorePatriciaTrees |
true if patricia trees should be stored, false otherwise.
◆ ShouldUseCacheDatabase
| bool catapult::cache::CacheConfiguration::ShouldUseCacheDatabase |
true if a cache database should be used, false otherwise.
The documentation for this struct was generated from the following file: