|
CatapultServer
v0.5.0.1 (Elephant)
|
Mixin that owns a cache database. More...

Protected Member Functions | |
| CacheDatabaseMixin (const CacheConfiguration &config, const std::vector< std::string > &columnFamilyNames, FilterPruningMode pruningMode=FilterPruningMode::Disabled) | |
| Creates a mixin around config and columnFamilyNames with optional pruningMode. More... | |
| bool | hasPatriciaTreeSupport () const |
Returns true if patricia tree support is enabled. More... | |
| CacheDatabase & | database () |
| Gets the database. More... | |
| void | flush () |
| Flushes the database. More... | |
Static Protected Member Functions | |
| static deltaset::ConditionalContainerMode | GetContainerMode (const CacheConfiguration &config) |
| Gets the container mode specified by config. More... | |
Static Private Member Functions | |
| static std::vector< std::string > | GetAdjustedColumnFamilyNames (const CacheConfiguration &config, const std::vector< std::string > &columnFamilyNames) |
Private Attributes | |
| std::unique_ptr< CacheDatabase > | m_pDatabase |
| const deltaset::ConditionalContainerMode | m_containerMode |
| const bool | m_hasPatriciaTreeSupport |
Mixin that owns a cache database.
|
inlineprotected |
Creates a mixin around config and columnFamilyNames with optional pruningMode.
|
inlineprotected |
Gets the database.

|
inlineprotected |
Flushes the database.


|
inlinestaticprivate |
|
inlinestaticprotected |
Gets the container mode specified by config.
|
inlineprotected |
Returns true if patricia tree support is enabled.
|
private |
|
private |
|
private |