aboutsummaryrefslogtreecommitdiff
path: root/zenstore/include
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-11-30 15:04:05 +0100
committerPer Larsson <[email protected]>2021-11-30 15:04:05 +0100
commit571b483cad2d8c97a04d1f3ccdb594eb7e4cf791 (patch)
tree5e8004ed313ba8b5bd173045c79674edbf7ec6cd /zenstore/include
parentAdded CAS total size. (diff)
downloadzen-571b483cad2d8c97a04d1f3ccdb594eb7e4cf791.tar.xz
zen-571b483cad2d8c97a04d1f3ccdb594eb7e4cf791.zip
Added CacheStore and CAS store sizes to status endpoint.
Diffstat (limited to 'zenstore/include')
-rw-r--r--zenstore/include/zenstore/cidstore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zenstore/include/zenstore/cidstore.h b/zenstore/include/zenstore/cidstore.h
index a69569bd2..4dd83f24e 100644
--- a/zenstore/include/zenstore/cidstore.h
+++ b/zenstore/include/zenstore/cidstore.h
@@ -54,6 +54,7 @@ public:
bool ContainsChunk(const IoHash& DecompressedId);
void Flush();
void Scrub(ScrubContext& Ctx);
+ CasStoreSize CasSize() const;
// TODO: add batch filter support