diff options
| author | Per Larsson <[email protected]> | 2021-11-30 15:04:05 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-11-30 15:04:05 +0100 |
| commit | 571b483cad2d8c97a04d1f3ccdb594eb7e4cf791 (patch) | |
| tree | 5e8004ed313ba8b5bd173045c79674edbf7ec6cd /zenstore/cidstore.cpp | |
| parent | Added CAS total size. (diff) | |
| download | zen-571b483cad2d8c97a04d1f3ccdb594eb7e4cf791.tar.xz zen-571b483cad2d8c97a04d1f3ccdb594eb7e4cf791.zip | |
Added CacheStore and CAS store sizes to status endpoint.
Diffstat (limited to 'zenstore/cidstore.cpp')
| -rw-r--r-- | zenstore/cidstore.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zenstore/cidstore.cpp b/zenstore/cidstore.cpp index c91f69ff7..4ddf34c79 100644 --- a/zenstore/cidstore.cpp +++ b/zenstore/cidstore.cpp @@ -289,4 +289,10 @@ CidStore::Scrub(ScrubContext& Ctx) m_Impl->Scrub(Ctx); } +CasStoreSize +CidStore::CasSize() const +{ + return m_Impl->m_CasStore.TotalSize(); +} + } // namespace zen |