aboutsummaryrefslogtreecommitdiff
path: root/zenserver/upstream/jupiter.h
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/upstream/jupiter.h')
-rw-r--r--zenserver/upstream/jupiter.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/zenserver/upstream/jupiter.h b/zenserver/upstream/jupiter.h
index 5bcec2904..2f01b7afb 100644
--- a/zenserver/upstream/jupiter.h
+++ b/zenserver/upstream/jupiter.h
@@ -2,6 +2,7 @@
#pragma once
+#include <zencore/httpserver.h>
#include <zencore/refcount.h>
#include <zencore/thread.h>
@@ -49,9 +50,14 @@ public:
CloudCacheSession(CloudCacheClient* OuterClient);
~CloudCacheSession();
- IoBuffer Get(std::string_view BucketId, std::string_view Key);
- void Put(std::string_view BucketId, std::string_view Key, IoBuffer Data);
- void Put(std::string_view BucketId, std::string_view Key, CbObjectView Data);
+ // Key-value cache operations
+ IoBuffer Get(std::string_view BucketId, std::string_view Key);
+ void Put(std::string_view BucketId, std::string_view Key, IoBuffer Data);
+
+ // Structured cache operations
+ IoBuffer Get(std::string_view BucketId, const IoHash& Key);
+ void Put(std::string_view BucketId, const IoHash& Key, IoBuffer Data, HttpContentType ContentType);
+
std::vector<IoHash> Filter(std::string_view BucketId, const std::vector<IoHash>& ChunkHashes);
private: