CatapultServer
v0.5.0.1 (Elephant)
SecretLockInfoCache.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
SecretLockInfoCacheDelta.h
"
23
#include "
SecretLockInfoCacheStorage.h
"
24
#include "
SecretLockInfoCacheView.h
"
25
#include "
catapult/cache/BasicCache.h
"
26
27
namespace
catapult
{
namespace
cache {
28
30
using
BasicSecretLockInfoCache
=
BasicCache<SecretLockInfoCacheDescriptor, SecretLockInfoCacheTypes::BaseSets>
;
31
33
class
SecretLockInfoCache
:
public
SynchronizedCache
<BasicSecretLockInfoCache> {
34
public
:
35
DEFINE_CACHE_CONSTANTS
(
SecretLockInfo
)
36
37
public
:
39
explicit
SecretLockInfoCache
(
const
CacheConfiguration
& config)
40
:
SynchronizedCache
<
BasicSecretLockInfoCache
>(
BasicSecretLockInfoCache
(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::CacheId::SecretLockInfo
SecretLockInfoCacheDelta.h
catapult::cache::SecretLockInfoCache
Synchronized cache composed of secret lock info information.
Definition:
SecretLockInfoCache.h:33
SecretLockInfoCacheView.h
catapult::cache::SynchronizedCache
Decorator that synchronizes access to a cache.
Definition:
SynchronizedCache.h:202
SecretLockInfoCacheStorage.h
catapult::cache::BasicCache
Definition:
BasicCache.h:32
catapult::cache::CacheConfiguration
Cache configuration.
Definition:
CacheConfiguration.h:37
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult::cache::SecretLockInfoCache::SecretLockInfoCache
SecretLockInfoCache(const CacheConfiguration &config)
Creates a cache around config.
Definition:
SecretLockInfoCache.h:39
catapult-server
plugins
txes
lock_secret
src
cache
SecretLockInfoCache.h
Generated by
1.8.16