diff options
Diffstat (limited to 'zenserver/upstream/jupiter.h')
| -rw-r--r-- | zenserver/upstream/jupiter.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/zenserver/upstream/jupiter.h b/zenserver/upstream/jupiter.h index dd01cfb86..5bcec2904 100644 --- a/zenserver/upstream/jupiter.h +++ b/zenserver/upstream/jupiter.h @@ -8,6 +8,7 @@ #include <atomic> #include <list> #include <memory> +#include <vector> namespace zen { namespace detail { @@ -17,6 +18,7 @@ namespace detail { class IoBuffer; class CloudCacheClient; struct IoHash; +class CbObjectView; /** * Cached access token, for use with `Authorization:` header @@ -47,8 +49,10 @@ 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); + 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); + std::vector<IoHash> Filter(std::string_view BucketId, const std::vector<IoHash>& ChunkHashes); private: RefPtr<CloudCacheClient> m_CacheClient; |