|
CatapultServer
v0.5.0.1 (Elephant)
|
CacheStorage implementation for saving and loading summary block difficulty cache data. More...


Public Member Functions | |
| void | saveSummary (const CatapultCacheDelta &cacheDelta, io::OutputStream &output) const override |
| Saves cache (summary) data from cacheDelta to output. More... | |
Public Member Functions inherited from catapult::cache::CacheStorageAdapter< BlockDifficultyCache, BlockDifficultyCacheStorage > | |
| CacheStorageAdapter (BlockDifficultyCache &cache) | |
| Creates an adapter around cache. More... | |
| const std::string & | name () const override |
| Gets the cache name. More... | |
| void | saveAll (const CatapultCacheView &cacheView, io::OutputStream &output) const override |
| Saves cache data from cacheView to output. More... | |
| void | saveSummary (const CatapultCacheDelta &, io::OutputStream &) const override |
| Saves cache (summary) data from cacheDelta to output. More... | |
| void | loadAll (io::InputStream &input, size_t batchSize) override |
| Loads cache data from input in batches of batchSize. More... | |
Public Member Functions inherited from catapult::cache::CacheStorage | |
| virtual | ~CacheStorage ()=default |
CacheStorage implementation for saving and loading summary block difficulty cache data.
|
overridevirtual |
Saves cache (summary) data from cacheDelta to output.
Implements catapult::cache::CacheStorage.
