CatapultServer
v0.5.0.1 (Elephant)
|
Wrapper around single set and patricia tree. More...
Public Types | |
using | IsOrderedSet = std::false_type |
Indicates the set is not ordered. More... | |
Public Member Functions | |
BaseSets (const CacheConfiguration &config) | |
Creates base sets around config. More... | |
TBaseSetDeltaPointers | rebase () |
Returns a delta based on the same original elements as this set. More... | |
TBaseSetDeltaPointers | rebaseDetached () const |
void | commit () |
Commits all changes in the rebased cache. More... | |
Public Attributes | |
TPrimaryTypes::BaseSetType | Primary |
CachePatriciaTree< TPatriciaTree > | PatriciaTree |
Additional Inherited Members | |
Protected Member Functions inherited from catapult::cache::CacheDatabaseMixin | |
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 inherited from catapult::cache::CacheDatabaseMixin | |
static deltaset::ConditionalContainerMode | GetContainerMode (const CacheConfiguration &config) |
Gets the container mode specified by config. More... | |
Wrapper around single set and patricia tree.
using catapult::cache::SingleSetAndPatriciaTreeCacheTypesAdapter< TPrimaryTypes, TPatriciaTree >::BaseSets< TBaseSetDeltaPointers >::IsOrderedSet = std::false_type |
Indicates the set is not ordered.
|
inlineexplicit |
Creates base sets around config.
|
inline |
Commits all changes in the rebased cache.
|
inline |
Returns a delta based on the same original elements as this set.
|
inline |
Returns a delta based on the same original elements as this set but without the ability to commit any changes to the original set.
CachePatriciaTree<TPatriciaTree> catapult::cache::SingleSetAndPatriciaTreeCacheTypesAdapter< TPrimaryTypes, TPatriciaTree >::BaseSets< TBaseSetDeltaPointers >::PatriciaTree |
TPrimaryTypes::BaseSetType catapult::cache::SingleSetAndPatriciaTreeCacheTypesAdapter< TPrimaryTypes, TPatriciaTree >::BaseSets< TBaseSetDeltaPointers >::Primary |