CatapultServer
v0.5.0.1 (Elephant)
|
Wrapper around single set. More...
Public Types | |
using | IsOrderedSet = IsOrderedFlag |
Indicates the set is ordered (used for capability detection in templates). More... | |
Public Member Functions | |
BaseSets (const CacheConfiguration &config) | |
Creates base sets around config. More... | |
BaseSetDeltaPointers | rebase () |
Returns a delta based on the same original elements as this set. More... | |
BaseSetDeltaPointers | rebaseDetached () const |
template<typename... TArgs> | |
void | commit (TArgs &&... args) |
Public Attributes | |
TPrimaryTypes::BaseSetType | Primary |
Static Private Attributes | |
static constexpr auto | PruningMode = IsOrderedSet() ? FilterPruningMode::Enabled : FilterPruningMode::Disabled |
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.
using catapult::cache::SingleSetCacheTypesAdapter< TPrimaryTypes, IsOrderedFlag >::BaseSets::IsOrderedSet = IsOrderedFlag |
Indicates the set is ordered (used for capability detection in templates).
|
inlineexplicit |
Creates base sets around config.
|
inline |
Commits all changes in the rebased cache. args are forwarded to the commit policy.
|
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.
TPrimaryTypes::BaseSetType catapult::cache::SingleSetCacheTypesAdapter< TPrimaryTypes, IsOrderedFlag >::BaseSets::Primary |
|
staticconstexprprivate |