diff options
Diffstat (limited to 'src/zenserver/cache/structuredcachestore.h')
| -rw-r--r-- | src/zenserver/cache/structuredcachestore.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zenserver/cache/structuredcachestore.h b/src/zenserver/cache/structuredcachestore.h index 067cfc0bf..05b60da34 100644 --- a/src/zenserver/cache/structuredcachestore.h +++ b/src/zenserver/cache/structuredcachestore.h @@ -102,11 +102,11 @@ private: /** Cache store interface - This manages a set of namespaces used for caching purposes. + This manages a set of namespaces used for derived data caching purposes. */ -class ZenCacheStore final +class ZenCacheStore final : public RefCounted { public: static constexpr std::string_view DefaultNamespace = @@ -157,6 +157,7 @@ public: Info GetInfo() const; std::optional<ZenCacheNamespace::Info> GetNamespaceInfo(std::string_view Namespace); std::optional<ZenCacheNamespace::BucketInfo> GetBucketInfo(std::string_view Namespace, std::string_view Bucket); + std::vector<std::string> GetNamespaces(); private: const ZenCacheNamespace* FindNamespace(std::string_view Namespace) const; |