CatapultServer
v0.5.0.1 (Elephant)
HashLockInfoCache.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
HashLockInfoCacheDelta.h
"
23
#include "
HashLockInfoCacheStorage.h
"
24
#include "
HashLockInfoCacheView.h
"
25
#include "
catapult/cache/BasicCache.h
"
26
27
namespace
catapult
{
namespace
cache {
28
30
using
BasicHashLockInfoCache
=
BasicCache<HashLockInfoCacheDescriptor, HashLockInfoCacheTypes::BaseSets>
;
31
33
class
HashLockInfoCache
:
public
SynchronizedCache
<BasicHashLockInfoCache> {
34
public
:
35
DEFINE_CACHE_CONSTANTS
(
HashLockInfo
)
36
37
public
:
39
explicit
HashLockInfoCache
(
const
CacheConfiguration
& config)
40
:
SynchronizedCache
<
BasicHashLockInfoCache
>(
BasicHashLockInfoCache
(config))
41
{}
42
};
43
}}
DEFINE_CACHE_CONSTANTS
#define DEFINE_CACHE_CONSTANTS(NAME)
Defines cache constants for a cache with NAME.
Definition:
CacheConstants.h:42
BasicCache.h
catapult::cache::HashLockInfoCache
Synchronized cache composed of hash lock info information.
Definition:
HashLockInfoCache.h:33
HashLockInfoCacheDelta.h
catapult::cache::HashLockInfoCache::HashLockInfoCache
HashLockInfoCache(const CacheConfiguration &config)
Creates a cache around config.
Definition:
HashLockInfoCache.h:39
catapult::cache::CacheId::HashLockInfo
catapult::cache::SynchronizedCache
Decorator that synchronizes access to a cache.
Definition:
SynchronizedCache.h:202
catapult::cache::BasicCache
Definition:
BasicCache.h:32
HashLockInfoCacheView.h
catapult::cache::CacheConfiguration
Cache configuration.
Definition:
CacheConfiguration.h:37
HashLockInfoCacheStorage.h
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult-server
plugins
txes
lock_hash
src
cache
HashLockInfoCache.h
Generated by
1.8.16