CatapultServer  v0.5.0.1 (Elephant)
catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::Producer Class Reference
Inheritance diagram for catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::Producer:
Collaboration diagram for catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::Producer:

Public Member Functions

 Producer (ViewType &&view, const model::EntityRange< KeyType > &keys)
 
auto operator() ()
 

Private Types

using ViewType = cache::LockedCacheView< typename TCacheDescriptor::CacheViewType >
 

Static Private Member Functions

static std::shared_ptr< model::CacheEntryInfo< KeyType > > MakeInfo (const KeyType &key)
 
static std::shared_ptr< model::CacheEntryInfo< KeyType > > MakeInfo (const KeyType &key, const std::string &value)
 

Private Attributes

std::shared_ptr< ViewTypem_pView
 

Additional Inherited Members

- Private Member Functions inherited from catapult::handlers::BasicProducer< model::EntityRange< KeyType > >
 BasicProducer (const model::EntityRange< KeyType > &container)
 Creates a producer around container. More...
 
auto next (TConverter convert)
 Produces the next entity and calls convert for any required adaptation. More...
 

Member Typedef Documentation

◆ ViewType

template<typename TCacheDescriptor >
using catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::Producer::ViewType = cache::LockedCacheView<typename TCacheDescriptor::CacheViewType>
private

Constructor & Destructor Documentation

◆ Producer()

template<typename TCacheDescriptor >
catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::Producer::Producer ( ViewType &&  view,
const model::EntityRange< KeyType > &  keys 
)
inline

Member Function Documentation

◆ MakeInfo() [1/2]

template<typename TCacheDescriptor >
static std::shared_ptr<model::CacheEntryInfo<KeyType> > catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::Producer::MakeInfo ( const KeyType key)
inlinestaticprivate
Here is the caller graph for this function:

◆ MakeInfo() [2/2]

template<typename TCacheDescriptor >
static std::shared_ptr<model::CacheEntryInfo<KeyType> > catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::Producer::MakeInfo ( const KeyType key,
const std::string &  value 
)
inlinestaticprivate

◆ operator()()

template<typename TCacheDescriptor >
auto catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::Producer::operator() ( )
inline
Here is the call graph for this function:

Member Data Documentation

◆ m_pView

template<typename TCacheDescriptor >
std::shared_ptr<ViewType> catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::Producer::m_pView
private

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