aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcache.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-04 15:25:35 +0200
committerDan Engelbrecht <[email protected]>2022-05-04 15:25:35 +0200
commit5b95a4fba97aa66cec935ef3e0d969893223f9d6 (patch)
tree32316f82b9c9d0e846141ddb4244cefebe036697 /zenserver/cache/structuredcache.h
parentInitialize upstream apply in background thread (#88) (diff)
downloadzen-5b95a4fba97aa66cec935ef3e0d969893223f9d6.tar.xz
zen-5b95a4fba97aa66cec935ef3e0d969893223f9d6.zip
Add namespacecachestore layer to allow multiple structured cache namespaces
Diffstat (limited to 'zenserver/cache/structuredcache.h')
-rw-r--r--zenserver/cache/structuredcache.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/zenserver/cache/structuredcache.h b/zenserver/cache/structuredcache.h
index 00c4260aa..7e9847838 100644
--- a/zenserver/cache/structuredcache.h
+++ b/zenserver/cache/structuredcache.h
@@ -25,7 +25,7 @@ class CbObjectView;
struct PutRequestData;
class ScrubContext;
class UpstreamCache;
-class ZenCacheStore;
+class NamespaceCacheStore;
enum class CachePolicy : uint32_t;
namespace cache::detail {
@@ -64,11 +64,11 @@ namespace cache::detail {
class HttpStructuredCacheService : public HttpService, public IHttpStatsProvider, public IHttpStatusProvider
{
public:
- HttpStructuredCacheService(ZenCacheStore& InCacheStore,
- CidStore& InCidStore,
- HttpStatsService& StatsService,
- HttpStatusService& StatusService,
- UpstreamCache& UpstreamCache);
+ HttpStructuredCacheService(NamespaceCacheStore& InNamespaceCacheStore,
+ CidStore& InCidStore,
+ HttpStatsService& StatsService,
+ HttpStatusService& StatusService,
+ UpstreamCache& UpstreamCache);
~HttpStructuredCacheService();
virtual const char* BaseUri() const override;
@@ -140,7 +140,7 @@ private:
spdlog::logger& Log() { return m_Log; }
spdlog::logger& m_Log;
- ZenCacheStore& m_CacheStore;
+ NamespaceCacheStore& m_CacheStore;
HttpStatsService& m_StatsService;
HttpStatusService& m_StatusService;
CidStore& m_CidStore;