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