CatapultServer
v0.5.0.1 (Elephant)
|
Policy for saving and loading hash cache data. More...
Static Public Member Functions | |
static void | Save (const ValueType ×tampedHash, io::OutputStream &output) |
Saves timestampedHash to output. More... | |
static state::TimestampedHash | Load (io::InputStream &input) |
Loads a single value from input. More... | |
Static Public Member Functions inherited from catapult::cache::CacheStorageForBasicInsertRemoveCache< HashCacheDescriptor > | |
static void | LoadInto (const typename HashCacheDescriptor ::ValueType &value, typename HashCacheDescriptor ::CacheDeltaType &cacheDelta) |
Loads value into cacheDelta. More... | |
static void | Purge (const typename HashCacheDescriptor ::ValueType &value, typename HashCacheDescriptor ::CacheDeltaType &cacheDelta) |
Purges value from cacheDelta. More... | |
Additional Inherited Members | |
Public Types inherited from catapult::cache::CacheStorageFromDescriptor< HashCacheDescriptor > | |
using | SourceType = typename HashCacheDescriptor ::CacheViewType |
Cache view type. More... | |
using | DestinationType = typename HashCacheDescriptor ::CacheDeltaType |
Cache delta type. More... | |
using | KeyType = typename HashCacheDescriptor ::KeyType |
Cache key type. More... | |
using | ValueType = typename HashCacheDescriptor ::ValueType |
Cache value type. More... | |
Policy for saving and loading hash cache data.
|
static |
Loads a single value from input.
|
static |
Saves timestampedHash to output.