CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
29 class BasicHashCacheDelta;
30 class BasicHashCacheView;
33 struct HashCachePrimarySerializer;
36 template<
typename TCache,
typename TCacheDelta,
typename TKey>
41 namespace catapult {
namespace cache {
46 static constexpr
auto Name =
"HashCache";
62 return timestampedHash;
Synchronized cache composed of timestamped hashes of (transaction) elements.
Definition: HashCache.h:49
DECLARE_SERVICE_REGISTRAR() HashCache()
Definition: HashCacheService.cpp:46
Represents a time duration.
Definition: TimeSpan.h:30
static constexpr auto Name
Definition: HashCacheTypes.h:46
View on top of the hash cache.
Definition: HashCacheView.h:62
A read-only overlay on top of a cache that provides support for contains.
Definition: HashCacheTypes.h:37
Describes a hash cache.
Definition: HashCacheTypes.h:44
Hash cache types.
Definition: HashCacheTypes.h:67
Represents a hash with attached timestamp.
Definition: TimestampedHash.h:31
Delta on top of the hash cache.
Definition: HashCacheDelta.h:65
Definition: AddressExtractionExtension.cpp:28
Primary serializer for hash cache.
Definition: HashCacheSerializers.h:28
Custom sub view options.
Definition: HashCacheTypes.h:71
utils::TimeSpan RetentionTime
Cache retention time.
Definition: HashCacheTypes.h:73
static const auto & GetKeyFromValue(const ValueType ×tampedHash)
Gets the key corresponding to timestampedHash.
Definition: HashCacheTypes.h:61
A cache types adapter for a cache composed of a single set.
Definition: SingleSetCacheTypesAdapter.h:31