aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/cidstore.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-05-15 20:54:46 +0200
committerStefan Boberg <[email protected]>2023-05-15 20:54:46 +0200
commit583b308a1e605da9bd70484767d6134891b9c3ba (patch)
tree5769264a7f637823c39e62cd61a2b44316102d5a /src/zenstore/cidstore.cpp
parentsome HttpClient changes eliminating some cpr helpers (diff)
downloadzen-583b308a1e605da9bd70484767d6134891b9c3ba.tar.xz
zen-583b308a1e605da9bd70484767d6134891b9c3ba.zip
minor GC API cleanup
Scrub -> ScrubStorage Trigger -> TriggerGc (to make relationship to TriggerScrub clearer)
Diffstat (limited to 'src/zenstore/cidstore.cpp')
-rw-r--r--src/zenstore/cidstore.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/zenstore/cidstore.cpp b/src/zenstore/cidstore.cpp
index 5a5116faf..8d4679128 100644
--- a/src/zenstore/cidstore.cpp
+++ b/src/zenstore/cidstore.cpp
@@ -49,7 +49,7 @@ struct CidStore::Impl
void Flush() { m_CasStore.Flush(); }
- void Scrub(ScrubContext& Ctx)
+ void ScrubStorage(ScrubContext& Ctx)
{
if (Ctx.ScrubTimestamp() == m_LastScrubTime)
{
@@ -58,7 +58,7 @@ struct CidStore::Impl
m_LastScrubTime = Ctx.ScrubTimestamp();
- m_CasStore.Scrub(Ctx);
+ m_CasStore.ScrubStorage(Ctx);
}
uint64_t m_LastScrubTime = 0;
@@ -111,9 +111,9 @@ CidStore::Flush()
}
void
-CidStore::Scrub(ScrubContext& Ctx)
+CidStore::ScrubStorage(ScrubContext& Ctx)
{
- m_Impl->Scrub(Ctx);
+ m_Impl->ScrubStorage(Ctx);
}
CidStoreSize