CatapultServer
v0.5.0.1 (Elephant)
|
Policy for saving and loading account state cache data. More...
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... | |
Policy for saving and loading account state cache data.
|
static |
Loads accountState into cacheDelta.
|
static |
Purges accountState from cacheDelta.