aboutsummaryrefslogtreecommitdiff
path: root/zenstore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-10-18 19:39:15 +0200
committerStefan Boberg <[email protected]>2021-10-18 19:39:15 +0200
commitc6b0fa23f7161fbe5faedc03b5397a3e37f25e46 (patch)
treeed596db41aeda9d393ab791199db2f91cda87b1c /zenstore/include
parentminor: comment edits (diff)
downloadzen-c6b0fa23f7161fbe5faedc03b5397a3e37f25e46.tar.xz
zen-c6b0fa23f7161fbe5faedc03b5397a3e37f25e46.zip
Some gc interface stubs
Diffstat (limited to 'zenstore/include')
-rw-r--r--zenstore/include/zenstore/gc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/zenstore/include/zenstore/gc.h b/zenstore/include/zenstore/gc.h
index 33a43f4d2..126c2eb68 100644
--- a/zenstore/include/zenstore/gc.h
+++ b/zenstore/include/zenstore/gc.h
@@ -29,7 +29,7 @@ private:
std::unique_ptr<GcState> m_State;
};
-/** GC
+/** GC Coordinator
*/
class CasGc
@@ -40,7 +40,9 @@ public:
void CollectGarbage();
- void OnNewReferences(std::span<IoHash> Hashes);
+ void OnNewCidReferences(std::span<IoHash> Hashes);
+ void OnCommittedCidReferences(std::span<IoHash> Hashes);
+ void OnDroppedCidReferences(std::span<IoHash> Hashes);
private:
CasStore& m_CasStore;