aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/zenserver/cache/structuredcachestore.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/zenserver/cache/structuredcachestore.h b/src/zenserver/cache/structuredcachestore.h
index 28966fc9a..6257e1f1e 100644
--- a/src/zenserver/cache/structuredcachestore.h
+++ b/src/zenserver/cache/structuredcachestore.h
@@ -415,7 +415,13 @@ private:
ZenCacheDiskLayer& operator=(const ZenCacheDiskLayer&) = delete;
};
-class ZenCacheNamespace final : public RefCounted, public GcStorage, public GcContributor
+/* Z$ namespace
+
+ A namespace scopes a set of buckets, and would typically be used to isolate
+ projects from each other.
+
+ */
+class ZenCacheNamespace final : public GcStorage, public GcContributor
{
public:
struct Configuration
@@ -471,6 +477,12 @@ private:
ZenCacheNamespace& operator=(const ZenCacheNamespace&) = delete;
};
+/** Cache store interface
+
+ This manages a set of namespaces used for caching purposes.
+
+ */
+
class ZenCacheStore final
{
public:
@@ -510,7 +522,6 @@ public:
const std::string_view ValueFilter) const;
GcStorageSize StorageSize() const;
- // const Configuration& GetConfiguration() const { return m_Configuration; }
Info GetInfo() const;
std::optional<ZenCacheNamespace::Info> GetNamespaceInfo(std::string_view Namespace);