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