aboutsummaryrefslogtreecommitdiff
path: root/zenstore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-01 22:34:31 +0200
committerDan Engelbrecht <[email protected]>2022-05-01 22:34:31 +0200
commitbe12749e0adde39d47875d3c4d2136dbcffbcb3d (patch)
tree9cb340f4b66ea30472f1fea4ac130bd69786ee53 /zenstore/include
parentthreading issues resolved (diff)
downloadzen-be12749e0adde39d47875d3c4d2136dbcffbcb3d.tar.xz
zen-be12749e0adde39d47875d3c4d2136dbcffbcb3d.zip
collectgarbage for compactcas and structured cache uses shared implementation
Diffstat (limited to 'zenstore/include')
-rw-r--r--zenstore/include/zenstore/blockstore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zenstore/include/zenstore/blockstore.h b/zenstore/include/zenstore/blockstore.h
index 084142636..1eff46367 100644
--- a/zenstore/include/zenstore/blockstore.h
+++ b/zenstore/include/zenstore/blockstore.h
@@ -143,6 +143,9 @@ public:
const ReclaimCallback& Callback = [](uint32_t, const std::unordered_map<size_t, BlockStoreLocation>&, const std::vector<size_t>&) {
});
+ static const char* GetBlockFileExtension();
+ static std::filesystem::path GetBlockPath(const std::filesystem::path& BlocksBasePath, const uint32_t BlockIndex);
+
private:
std::unordered_map<uint32_t, Ref<BlockStoreFile>> m_ChunkBlocks;