diff options
| author | Stefan Boberg <[email protected]> | 2021-10-18 19:39:15 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-10-18 19:39:15 +0200 |
| commit | c6b0fa23f7161fbe5faedc03b5397a3e37f25e46 (patch) | |
| tree | ed596db41aeda9d393ab791199db2f91cda87b1c /zenstore/include | |
| parent | minor: comment edits (diff) | |
| download | zen-c6b0fa23f7161fbe5faedc03b5397a3e37f25e46.tar.xz zen-c6b0fa23f7161fbe5faedc03b5397a3e37f25e46.zip | |
Some gc interface stubs
Diffstat (limited to 'zenstore/include')
| -rw-r--r-- | zenstore/include/zenstore/gc.h | 6 |
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; |