aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcache.h
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-05-21 20:41:34 +0200
committerStefan Boberg <[email protected]>2021-05-21 20:41:34 +0200
commit78dbac2648bbfe2a3687f37e06a3ed32241cb809 (patch)
tree5d053c139fb3738a6848c681015ea0d051a40423 /zenserver/cache/structuredcache.h
parentstd::min -> zen::Min (diff)
downloadzen-78dbac2648bbfe2a3687f37e06a3ed32241cb809.tar.xz
zen-78dbac2648bbfe2a3687f37e06a3ed32241cb809.zip
Partial refactoring of structured cache implementation - WIP
Diffstat (limited to 'zenserver/cache/structuredcache.h')
-rw-r--r--zenserver/cache/structuredcache.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/zenserver/cache/structuredcache.h b/zenserver/cache/structuredcache.h
index 48b56128f..ead9644f5 100644
--- a/zenserver/cache/structuredcache.h
+++ b/zenserver/cache/structuredcache.h
@@ -15,13 +15,13 @@ 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
@@ -39,6 +39,7 @@ private:
{
std::string BucketSegment;
IoHash HashKey;
+ Oid PayloadId;
};
[[nodiscard]] bool ValidateUri(zen::HttpServerRequest& Request, CacheRef& OutRef);