diff options
| author | Stefan Boberg <[email protected]> | 2021-08-12 10:05:20 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-08-12 10:05:20 +0200 |
| commit | e664bbc31ff4ea866401c9303c53108242a6cb27 (patch) | |
| tree | 71dccfc377f58042a5776db85738e3cf2e495358 /zenserver/cache/structuredcachestore.h | |
| parent | Implemented Flush() operation for CID/CAS store interfaces (diff) | |
| download | zen-e664bbc31ff4ea866401c9303c53108242a6cb27.tar.xz zen-e664bbc31ff4ea866401c9303c53108242a6cb27.zip | |
Implemented flush operations for cache services
Also implemented basic upstream query interface, which needs a bit more work to be fully functional (chunk propagation / fetching and new propagation policies as per DDC requirements)
Diffstat (limited to 'zenserver/cache/structuredcachestore.h')
| -rw-r--r-- | zenserver/cache/structuredcachestore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zenserver/cache/structuredcachestore.h b/zenserver/cache/structuredcachestore.h index 81425a29e..781a6e636 100644 --- a/zenserver/cache/structuredcachestore.h +++ b/zenserver/cache/structuredcachestore.h @@ -102,6 +102,7 @@ public: bool Get(std::string_view Bucket, const zen::IoHash& HashKey, ZenCacheValue& OutValue); void Put(std::string_view Bucket, const zen::IoHash& HashKey, const ZenCacheValue& Value); + void Flush(); private: std::filesystem::path m_RootDir; |