CatapultServer  v0.5.0.1 (Elephant)
catapult::mongo::ExternalCacheStorageBuilder Class Reference

Builder for creating an aggregate external cache storage around external cache storages. More...

Public Member Functions

template<typename TStorage >
void add (std::unique_ptr< TStorage > &&pStorage)
 Adds pStorage to the builder. More...
 
std::unique_ptr< ExternalCacheStoragebuild ()
 Builds an aggregate external cache storage. More...
 

Private Attributes

std::vector< std::unique_ptr< ExternalCacheStorage > > m_storages
 

Detailed Description

Builder for creating an aggregate external cache storage around external cache storages.

Member Function Documentation

◆ add()

template<typename TStorage >
void catapult::mongo::ExternalCacheStorageBuilder::add ( std::unique_ptr< TStorage > &&  pStorage)
inline

Adds pStorage to the builder.

Here is the caller graph for this function:

◆ build()

std::unique_ptr<ExternalCacheStorage> catapult::mongo::ExternalCacheStorageBuilder::build ( )
inline

Builds an aggregate external cache storage.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_storages

std::vector<std::unique_ptr<ExternalCacheStorage> > catapult::mongo::ExternalCacheStorageBuilder::m_storages
private

The documentation for this class was generated from the following file: