diff options
Diffstat (limited to 'zenserver/cache/structuredcachestore.h')
| -rw-r--r-- | zenserver/cache/structuredcachestore.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/zenserver/cache/structuredcachestore.h b/zenserver/cache/structuredcachestore.h index ea33a3c00..b81e44835 100644 --- a/zenserver/cache/structuredcachestore.h +++ b/zenserver/cache/structuredcachestore.h @@ -9,7 +9,6 @@ #include <zencore/uid.h> #include <zenstore/basicfile.h> #include <zenstore/blockstore.h> -#include <zenstore/cas.h> #include <zenstore/caslog.h> #include <zenstore/gc.h> @@ -27,8 +26,9 @@ ZEN_THIRD_PARTY_INCLUDES_END namespace zen { class PathBuilderBase; -class CasGc; +class GcManager; class ZenCacheTracker; +class ScrubContext; /****************************************************************************** @@ -327,7 +327,7 @@ private: class ZenCacheNamespace final : public RefCounted, public GcStorage, public GcContributor { public: - ZenCacheNamespace(CasGc& Gc, const std::filesystem::path& RootDir); + ZenCacheNamespace(GcManager& Gc, const std::filesystem::path& RootDir); ~ZenCacheNamespace(); bool Get(std::string_view Bucket, const IoHash& HashKey, ZenCacheValue& OutValue); @@ -369,7 +369,7 @@ public: bool AllowAutomaticCreationOfNamespaces = true; }; - ZenCacheStore(CasGc& Gc, const Configuration& Configuration); + ZenCacheStore(GcManager& Gc, const Configuration& Configuration); ~ZenCacheStore(); bool Get(std::string_view Namespace, std::string_view Bucket, const IoHash& HashKey, ZenCacheValue& OutValue); @@ -393,7 +393,7 @@ private: NamespaceMap m_Namespaces; std::vector<std::unique_ptr<ZenCacheNamespace>> m_DroppedNamespaces; - CasGc& m_Gc; + GcManager& m_Gc; Configuration m_Configuration; }; |