CatapultServer  v0.5.0.1 (Elephant)
catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor > Class Template Reference

Cache entry infos producer factory. More...

Classes

class  Producer
 

Public Member Functions

CacheEntryInfoProducer< KeyTypeoperator() (const model::EntityRange< KeyType > &ids) const
 Creates a cache entry infos producer for a range of keys (ids). More...
 

Static Public Member Functions

static CacheEntryInfosProducerFactory Create (const CacheType &cache)
 Creates a cache entry infos producer factory around cache. More...
 

Private Types

using KeyType = typename TCacheDescriptor::KeyType
 
using ValueType = typename TCacheDescriptor::ValueType
 
using CacheType = typename TCacheDescriptor::CacheType
 

Private Member Functions

 CacheEntryInfosProducerFactory (const CacheType &cache)
 

Private Attributes

const CacheTypem_cache
 

Detailed Description

template<typename TCacheDescriptor>
class catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >

Cache entry infos producer factory.

Member Typedef Documentation

◆ CacheType

template<typename TCacheDescriptor >
using catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::CacheType = typename TCacheDescriptor::CacheType
private

◆ KeyType

template<typename TCacheDescriptor >
using catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::KeyType = typename TCacheDescriptor::KeyType
private

◆ ValueType

template<typename TCacheDescriptor >
using catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::ValueType = typename TCacheDescriptor::ValueType
private

Constructor & Destructor Documentation

◆ CacheEntryInfosProducerFactory()

template<typename TCacheDescriptor >
catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::CacheEntryInfosProducerFactory ( const CacheType cache)
inlineprivate
Here is the caller graph for this function:

Member Function Documentation

◆ Create()

template<typename TCacheDescriptor >
static CacheEntryInfosProducerFactory catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::Create ( const CacheType cache)
inlinestatic

Creates a cache entry infos producer factory around cache.

Here is the call graph for this function:

◆ operator()()

template<typename TCacheDescriptor >
CacheEntryInfoProducer<KeyType> catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::operator() ( const model::EntityRange< KeyType > &  ids) const
inline

Creates a cache entry infos producer for a range of keys (ids).

Member Data Documentation

◆ m_cache

template<typename TCacheDescriptor >
const CacheType& catapult::handlers::CacheEntryInfosProducerFactory< TCacheDescriptor >::m_cache
private

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