CatapultServer
v0.5.0.1 (Elephant)
|
Interface for loading and saving cache changes. More...
Public Member Functions | |
virtual | ~CacheChangesStorage ()=default |
virtual void | saveAll (const CacheChanges &changes, io::OutputStream &output) const =0 |
Saves cache changes to output. More... | |
virtual std::unique_ptr< const MemoryCacheChanges > | loadAll (io::InputStream &input) const =0 |
Loads cache changes from input. More... | |
virtual void | apply (const CacheChanges &changes) const =0 |
Applies cache changes to the underlying cache. More... | |
Interface for loading and saving cache changes.
|
virtualdefault |
|
pure virtual |
Applies cache changes to the underlying cache.
Implemented in catapult::cache::CacheChangesStorageAdapter< TCache, TStorageTraits >.
|
pure virtual |
Loads cache changes from input.
Implemented in catapult::cache::CacheChangesStorageAdapter< TCache, TStorageTraits >.
|
pure virtual |
Saves cache changes to output.
Implemented in catapult::cache::CacheChangesStorageAdapter< TCache, TStorageTraits >.