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

Policy for saving and loading account state cache data. More...

Inheritance diagram for catapult::cache::AccountStateCacheStorage:
Collaboration diagram for catapult::cache::AccountStateCacheStorage:

Static Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Policy for saving and loading account state cache data.

Member Function Documentation

◆ LoadInto()

void catapult::cache::AccountStateCacheStorage::LoadInto ( const ValueType accountState,
DestinationType cacheDelta 
)
static

Loads accountState into cacheDelta.

◆ Purge()

void catapult::cache::AccountStateCacheStorage::Purge ( const ValueType accountState,
DestinationType cacheDelta 
)
static

Purges accountState from cacheDelta.


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