CatapultServer
v0.5.0.1 (Elephant)
|
MutableAccessorMixin< MosaicCacheTypes::PrimaryTypes::BaseSetDeltaType, MosaicCacheDescriptor > MutableAccessor
Definition: CacheMixinAliases.h:36
SizeMixin< MosaicCacheTypes::PrimaryTypes::BaseSetDeltaType > Size
Definition: CacheMixinAliases.h:31
BasicMosaicCacheDelta(const MosaicCacheTypes::BaseSetDeltaPointers &mosaicSets)
Creates a delta around mosaicSets.
Definition: MosaicCacheDelta.cpp:46
void remove(const KeyType &key)
Removes the value identified by key from the cache.
Definition: CacheMixins.h:295
deltaset::DeltaElementsMixin< MosaicCacheTypes::PrimaryTypes::BaseSetDeltaType > DeltaElements
Definition: CacheMixinAliases.h:47
Mixins used by the mosaic cache delta.
Definition: MosaicCacheDelta.h:32
void insert(const ValueType &value)
Inserts value into the cache.
Definition: CacheMixins.h:285
MosaicCacheDelta(const MosaicCacheTypes::BaseSetDeltaPointers &mosaicSets)
Creates a delta around mosaicSets.
Definition: MosaicCacheDelta.h:78
Decorates a view and supplies a read-only view.
Definition: ReadOnlyViewSupplier.h:28
void RemoveIdentifierWithGroup(TGroupedSet &groupedSet, const TGroupingKey &key, const TIdentifier &identifier)
Removes an identifier with grouping key from groupedSet.
Definition: IdentifierGroupCacheUtils.h:57
PatriciaTreeDeltaMixin< MosaicCacheTypes::PrimaryTypes::BaseSetDeltaType, typename MosaicCacheDescriptor ::PatriciaTree::DeltaType > PatriciaTreeDelta
Definition: CacheMixinAliases.h:54
utils::BaseValue< uint64_t, Height_tag > Height
Definition: src/catapult/types.h:85
typename BaseSetType::DeltaType BaseSetDeltaType
Base set delta type.
Definition: CacheDescriptorAdapters.h:84
Delta on top of the mosaic cache.
Definition: MosaicCacheDelta.h:75
MosaicCacheTypes::PrimaryTypes::BaseSetDeltaPointerType m_pEntryById
Definition: MosaicCacheDelta.h:70
ReadOnlyArtifactCache< BasicMosaicCacheView, BasicMosaicCacheDelta, MosaicId, state::MosaicEntry > CacheReadOnlyType
Definition: MosaicCacheTypes.h:76
A tuple composed of a mosaic definition and its current state.
Definition: MosaicEntry.h:50
A read-only overlay on top of a cache that provides support for contains, get and isActive.
Definition: MosaicCacheTypes.h:42
BasicInsertRemoveMixin< MosaicCacheTypes::PrimaryTypes::BaseSetDeltaType, MosaicCacheDescriptor > BasicInsertRemove
Definition: CacheMixinAliases.h:45
Grouping of all basic and patricia tree cache mixins for a single set.
Definition: CacheMixinAliases.h:52
ContainsMixin< MosaicCacheTypes::PrimaryTypes::BaseSetDeltaType, MosaicCacheDescriptor > Contains
Definition: CacheMixinAliases.h:32
void AddIdentifierWithGroup(TGroupedSet &groupedSet, const TGroupingKey &key, const TIdentifier &identifier)
Adds an identifier with with grouping key to groupedSet.
Definition: IdentifierGroupCacheUtils.h:30
ConstAccessorMixin< MosaicCacheTypes::PrimaryTypes::BaseSetDeltaType, MosaicCacheDescriptor > ConstAccessor
Definition: CacheMixinAliases.h:35
const_iterator find(const KeyType &key) const
Finds the cache value identified by key.
Definition: CacheMixins.h:207
void insert(const state::MosaicEntry &entry)
Inserts the mosaic entry into the cache.
Definition: MosaicCacheDelta.cpp:60
iterator find(const KeyType &key)
Finds the cache value identified by key.
Definition: CacheMixins.h:239
Definition: MosaicBaseSets.h:41
Basic delta on top of the mosaic cache.
Definition: MosaicCacheDelta.h:40
A class that can be moved but not copied.
Definition: NonCopyable.h:43
A mixin for height-based touching.
Definition: CacheMixins.h:310
std::shared_ptr< BaseSetDeltaType > BaseSetDeltaPointerType
Base set delta pointer type.
Definition: CacheDescriptorAdapters.h:87
Definition: AddressExtractionExtension.cpp:28
void remove(MosaicId mosaicId)
Removes the value identified by mosaicId from the cache.
Definition: MosaicCacheDelta.cpp:65
ActivePredicateMixin< MosaicCacheTypes::PrimaryTypes::BaseSetDeltaType, MosaicCacheDescriptor > ActivePredicate
Definition: CacheMixinAliases.h:44
MosaicCacheTypes::HeightGroupingTypes::BaseSetDeltaPointerType m_pMosaicIdsByExpiryHeight
Definition: MosaicCacheDelta.h:71