CatapultServer
v0.5.0.1 (Elephant)
|
Interface for loading and saving cache changes.
Definition: CacheChangesStorage.h:34
Provides common view of aggregate cache changes.
Definition: CacheChanges.h:111
virtual void saveAll(const CacheChanges &changes, io::OutputStream &output) const =0
Saves cache changes to output.
virtual void apply(const CacheChanges &changes) const =0
Applies cache changes to the underlying cache.
virtual ~CacheChangesStorage()=default
Definition: AddressExtractionExtension.cpp:28
Writer interface.
Definition: Stream.h:41
virtual std::unique_ptr< const MemoryCacheChanges > loadAll(io::InputStream &input) const =0
Loads cache changes from input.