diff options
| author | Stefan Boberg <[email protected]> | 2023-05-15 21:25:18 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2023-05-15 21:25:18 +0200 |
| commit | 51c57171d859f1893d181b68c5a2506f7909578c (patch) | |
| tree | 71694f1f03a86bbcf38f9f0a8253e96dea248ecf /src/zenstore/include | |
| parent | added scrubbing related logging (diff) | |
| download | zen-51c57171d859f1893d181b68c5a2506f7909578c.tar.xz zen-51c57171d859f1893d181b68c5a2506f7909578c.zip | |
added ScrubStorage to GcStorage base class
Diffstat (limited to 'src/zenstore/include')
| -rw-r--r-- | src/zenstore/include/zenstore/gc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/zenstore/include/zenstore/gc.h b/src/zenstore/include/zenstore/gc.h index 0e18315d9..0251aeb05 100644 --- a/src/zenstore/include/zenstore/gc.h +++ b/src/zenstore/include/zenstore/gc.h @@ -5,6 +5,7 @@ #include <zencore/iohash.h> #include <zencore/thread.h> #include <zenstore/caslog.h> +#include <zenstore/scrubcontext.h> #include <atomic> #include <chrono> @@ -115,8 +116,9 @@ public: GcStorage(GcManager& Gc); ~GcStorage(); - virtual void CollectGarbage(GcContext& GcCtx) = 0; - virtual GcStorageSize StorageSize() const = 0; + virtual void ScrubStorage(ScrubContext& ScrubCtx) = 0; + virtual void CollectGarbage(GcContext& GcCtx) = 0; + virtual GcStorageSize StorageSize() const = 0; private: GcManager& m_Gc; |