CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace catapult {
namespace cache {
32 template<
typename TStorageTraits,
typename TCache>
33 void add(std::unique_ptr<TCache>&& pSubCache) {
38 void add(std::unique_ptr<SubCachePlugin>&& pSubCachePlugin) {
39 auto id = pSubCachePlugin->id();
#define CATAPULT_LOG(SEV)
Writes a log entry to the default logger with SEV severity.
Definition: Logging.h:340
def debug(*args)
Definition: Parser.py:46
Builder for creating a catapult cache around sub caches.
Definition: CatapultCacheBuilder.h:29
Central cache holding all sub caches.
Definition: CatapultCache.h:40
#define CATAPULT_THROW_INVALID_ARGUMENT_1(MESSAGE, PARAM1)
Macro used to throw a catapult invalid argument with a single parameter.
Definition: exceptions.h:183
void add(std::unique_ptr< SubCachePlugin > &&pSubCachePlugin)
Adds pSubCachePlugin to the builder.
Definition: CatapultCacheBuilder.h:38
Definition: AddressExtractionExtension.cpp:28
std::vector< std::unique_ptr< SubCachePlugin > > m_subCaches
Definition: CatapultCacheBuilder.h:55
void add(std::unique_ptr< TCache > &&pSubCache)
Adds pSubCache to the builder with the specified storage traits.
Definition: CatapultCacheBuilder.h:33
CatapultCache build()
Builds a catapult cache.
Definition: CatapultCacheBuilder.h:49
A SubCachePlugin implementation that wraps a SynchronizedCache.
Definition: SubCachePluginAdapter.h:32