aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/cache/structuredcache.h')
-rw-r--r--zenserver/cache/structuredcache.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/zenserver/cache/structuredcache.h b/zenserver/cache/structuredcache.h
index d0646e6e9..48b56128f 100644
--- a/zenserver/cache/structuredcache.h
+++ b/zenserver/cache/structuredcache.h
@@ -3,15 +3,25 @@
#pragma once
#include <zencore/httpserver.h>
+#include <zencore/refcount.h>
#include "cachestore.h"
#include "upstream/jupiter.h"
namespace zen {
+class CloudCacheClient;
+
/**
* New-style cache service. Imposes constraints on keys, supports blobs and
* structured values
+ *
+ * The storage strategy is as follows:
+ *
+ * -
+ *
+ * -
+ *
*/
class HttpStructuredCacheService : public zen::HttpService
@@ -33,8 +43,9 @@ private:
[[nodiscard]] bool ValidateUri(zen::HttpServerRequest& Request, CacheRef& OutRef);
- zen::CasStore& m_CasStore;
- ZenCacheStore m_CacheStore;
+ zen::CasStore& m_CasStore;
+ ZenCacheStore m_CacheStore;
+ RefPtr<CloudCacheClient> m_Cloud;
};
} // namespace zen