aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-05-15 21:25:18 +0200
committerStefan Boberg <[email protected]>2023-05-15 21:25:18 +0200
commit51c57171d859f1893d181b68c5a2506f7909578c (patch)
tree71694f1f03a86bbcf38f9f0a8253e96dea248ecf /src/zenstore/include
parentadded scrubbing related logging (diff)
downloadzen-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.h6
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;