CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace catapult {
namespace cache {
42 auto configCopy = config;
Definition: HashCache.h:32
#define DEFINE_CACHE_CONSTANTS(NAME)
Defines cache constants for a cache with NAME.
Definition: CacheConstants.h:42
Synchronized cache composed of timestamped hashes of (transaction) elements.
Definition: HashCache.h:49
static CacheConfiguration DisablePatriciaTreeStorage(const CacheConfiguration &config)
Definition: HashCache.h:41
Represents a time duration.
Definition: TimeSpan.h:30
Hash cache types.
Definition: HashCacheTypes.h:67
Decorator that synchronizes access to a cache.
Definition: SynchronizedCache.h:202
Definition: BasicCache.h:32
Cache configuration.
Definition: CacheConfiguration.h:37
HashCache(const CacheConfiguration &config, const utils::TimeSpan &retentionTime)
Creates a cache around config with the specified retention time (retentionTime).
Definition: HashCache.h:55
Definition: AddressExtractionExtension.cpp:28
bool ShouldStorePatriciaTrees
true if patricia trees should be stored, false otherwise.
Definition: CacheConfiguration.h:68
BasicHashCache(const CacheConfiguration &config, const utils::TimeSpan &retentionTime)
Creates a cache around config with the specified retention time (retentionTime).
Definition: HashCache.h:35