CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
25 namespace catapult {
namespace cache {
48 const std::string& databaseDirectory,
CacheConfiguration(const std::string &databaseDirectory, utils::FileSize maxCacheDatabaseWriteBatchSize, PatriciaTreeStorageMode mode)
Definition: CacheConfiguration.h:47
Patricia tree storage should be enabled.
bool ShouldUseCacheDatabase
true if a cache database should be used, false otherwise.
Definition: CacheConfiguration.h:59
utils::FileSize MaxCacheDatabaseWriteBatchSize
Maximum size of database write batch.
Definition: CacheConfiguration.h:65
Represents a file size.
Definition: FileSize.h:29
std::string CacheDatabaseDirectory
Base directory to use for storing cache database.
Definition: CacheConfiguration.h:62
PatriciaTreeStorageMode
Possible patricia tree storage modes.
Definition: CacheConfiguration.h:28
Cache configuration.
Definition: CacheConfiguration.h:37
CacheConfiguration()
Creates a default cache configuration.
Definition: CacheConfiguration.h:40
Patricia tree storage should be disabled.
Definition: AddressExtractionExtension.cpp:28
bool ShouldStorePatriciaTrees
true if patricia trees should be stored, false otherwise.
Definition: CacheConfiguration.h:68