CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::NamespaceCacheStorage Struct Reference

Policy for saving and loading namespace cache data. More...

Inheritance diagram for catapult::cache::NamespaceCacheStorage:
Collaboration diagram for catapult::cache::NamespaceCacheStorage:

Static Public Member Functions

static void LoadInto (const ValueType &history, DestinationType &cacheDelta)
 Loads history into cacheDelta. More...
 
static void Purge (const ValueType &history, DestinationType &cacheDelta)
 Purges history from cacheDelta. More...
 
- Static Public Member Functions inherited from catapult::state::RootNamespaceHistorySerializer
static void Save (const RootNamespaceHistory &history, io::OutputStream &output)
 Saves history to output. More...
 
static RootNamespaceHistory Load (io::InputStream &input)
 Loads a single value from input. More...
 

Additional Inherited Members

- Public Types inherited from catapult::cache::CacheStorageFromDescriptor< NamespaceCacheDescriptor >
using SourceType = typename NamespaceCacheDescriptor ::CacheViewType
 Cache view type. More...
 
using DestinationType = typename NamespaceCacheDescriptor ::CacheDeltaType
 Cache delta type. More...
 
using KeyType = typename NamespaceCacheDescriptor ::KeyType
 Cache key type. More...
 
using ValueType = typename NamespaceCacheDescriptor ::ValueType
 Cache value type. More...
 
- Static Public Attributes inherited from catapult::state::RootNamespaceHistorySerializer
static constexpr uint16_t State_Version = 1
 Serialized state version. More...
 

Detailed Description

Policy for saving and loading namespace cache data.

Member Function Documentation

◆ LoadInto()

void catapult::cache::NamespaceCacheStorage::LoadInto ( const ValueType history,
DestinationType cacheDelta 
)
static

Loads history into cacheDelta.

◆ Purge()

void catapult::cache::NamespaceCacheStorage::Purge ( const ValueType history,
DestinationType cacheDelta 
)
static

Purges history from cacheDelta.


The documentation for this struct was generated from the following files: