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.cpp | |
| 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.cpp')
| -rw-r--r-- | zenserver/cache/structuredcachestore.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp index a7904a1ab..9ed3cf53e 100644 --- a/zenserver/cache/structuredcachestore.cpp +++ b/zenserver/cache/structuredcachestore.cpp @@ -81,6 +81,12 @@ ZenCacheStore::Put(std::string_view InBucket, const zen::IoHash& HashKey, const } } +void +ZenCacheStore::Flush() +{ + m_DiskLayer.Flush(); +} + ////////////////////////////////////////////////////////////////////////// ZenCacheMemoryLayer::ZenCacheMemoryLayer() |