CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
33 class BasicNamespaceCacheDelta;
34 class BasicNamespaceCacheView;
35 struct NamespaceBaseSetDeltaPointers;
36 struct NamespaceBaseSets;
38 class NamespaceCacheDelta;
39 class NamespaceCacheView;
40 struct NamespaceFlatMapTypesSerializer;
41 struct NamespaceHeightGroupingSerializer;
42 class NamespacePatriciaTree;
44 template<
typename TCache,
typename TCacheDelta,
typename TKey,
typename TGetResult>
45 class ReadOnlyArtifactCache;
46 struct RootNamespaceHistoryPrimarySerializer;
50 namespace catapult {
namespace cache {
55 static constexpr
auto Name =
"NamespaceCache";
116 return heightNamespaces.
key();
Basic delta on top of the namespace cache.
Definition: NamespaceCacheDelta.h:53
Definition: NamespaceBaseSets.h:41
Synchronized cache composed of namespace information.
Definition: NamespaceCache.h:71
Describes a namespace cache.
Definition: NamespaceCacheTypes.h:53
BlockDuration GracePeriodDuration
Namespace grace period duration.
Definition: NamespaceCacheTypes.h:89
A catapult namespace.
Definition: Namespace.h:30
static auto GetKeyFromValue(const ValueType &history)
Gets the key corresponding to history.
Definition: NamespaceCacheTypes.h:72
NamespaceId id() const
Gets the namespace id.
Definition: Namespace.h:43
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
utils::BaseValue< uint64_t, NamespaceId_tag > NamespaceId
Definition: plugins/txes/namespace/src/types.h:28
A pair composed of a namespace and its root.
Definition: NamespaceEntry.h:28
A root namespace history.
Definition: RootNamespaceHistory.h:31
A read-only overlay on top of a cache that provides support for contains, get and isActive.
Definition: MosaicCacheTypes.h:42
Definition: NamespaceBaseSets.h:48
static auto GetKeyFromValue(const ValueType &heightNamespaces)
Definition: NamespaceCacheTypes.h:115
Delta on top of the namespace cache.
Definition: NamespaceCacheDelta.h:101
static auto GetKeyFromValue(const ValueType &ns)
Definition: NamespaceCacheTypes.h:102
Basic view on top of the namespace cache.
Definition: NamespaceCacheView.h:50
Namespace cache types.
Definition: NamespaceCacheTypes.h:78
Definition: NamespaceBaseSets.h:35
Serializer for namespace cache height grouped elements.
Definition: NamespaceCacheSerializers.h:59
Definition: NamespaceCacheTypes.h:95
Serializer for namespace flat map sub cache.
Definition: NamespaceCacheSerializers.h:41
Definition: NamespaceCacheTypes.h:108
Primary serializer for namespace cache.
Definition: NamespaceCacheSerializers.h:30
Definition: AddressExtractionExtension.cpp:28
Custom sub view options.
Definition: NamespaceCacheTypes.h:87
static constexpr auto Name
Definition: NamespaceCacheTypes.h:55
NamespaceId id() const
Gets the id of the root namespace history.
Definition: RootNamespaceHistory.cpp:59
View on top of the namespace cache.
Definition: NamespaceCacheView.h:77
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