CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
30 class BasicMosaicCacheDelta;
31 class BasicMosaicCacheView;
32 struct MosaicBaseSetDeltaPointers;
33 struct MosaicBaseSets;
35 class MosaicCacheDelta;
36 class MosaicCacheView;
37 struct MosaicEntryPrimarySerializer;
38 struct MosaicHeightGroupingSerializer;
39 class MosaicPatriciaTree;
41 template<
typename TCache,
typename TCacheDelta,
typename TKey,
typename TGetResult>
46 namespace catapult {
namespace cache {
51 static constexpr
auto Name =
"MosaicCache";
89 return heightMosaics.
key();
Definition: MosaicCacheTypes.h:81
Definition: MosaicBaseSets.h:47
Synchronized cache composed of mosaic information.
Definition: MosaicCache.h:33
Describes a mosaic cache.
Definition: MosaicCacheTypes.h:49
static constexpr auto Name
Definition: MosaicCacheTypes.h:51
Mosaic cache types.
Definition: MosaicCacheTypes.h:74
const TGroupingKey & key() const
Gets the grouping key.
Definition: IdentifierGroup.h:43
utils::BaseValue< uint64_t, Height_tag > Height
Definition: src/catapult/types.h:85
Delta on top of the mosaic cache.
Definition: MosaicCacheDelta.h:75
Primary serializer for mosaic cache.
Definition: MosaicCacheSerializers.h:30
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
Serializer for mosaic cache height grouped elements.
Definition: MosaicCacheSerializers.h:33
Definition: MosaicBaseSets.h:41
Definition: MosaicBaseSets.h:35
static auto GetKeyFromValue(const ValueType &entry)
Gets the key corresponding to entry.
Definition: MosaicCacheTypes.h:68
static auto GetKeyFromValue(const ValueType &heightMosaics)
Definition: MosaicCacheTypes.h:88
Definition: AddressExtractionExtension.cpp:28
MosaicId mosaicId() const
Gets the mosaic id.
Definition: MosaicEntry.cpp:52
View on top of the mosaic cache.
Definition: MosaicCacheView.h:58
A group of identifiers that share a common (external) attribute.
Definition: IdentifierGroup.h:28
Defines cache types for an unordered map based cache.
Definition: CacheDescriptorAdapters.h:35