aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.h
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/cache/structuredcachestore.h')
-rw-r--r--zenserver/cache/structuredcachestore.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/zenserver/cache/structuredcachestore.h b/zenserver/cache/structuredcachestore.h
index 781a6e636..48c3cfde9 100644
--- a/zenserver/cache/structuredcachestore.h
+++ b/zenserver/cache/structuredcachestore.h
@@ -56,6 +56,7 @@ public:
bool Get(std::string_view Bucket, const zen::IoHash& HashKey, ZenCacheValue& OutValue);
void Put(std::string_view Bucket, const zen::IoHash& HashKey, const ZenCacheValue& Value);
+ bool DropBucket(std::string_view Bucket);
private:
struct CacheBucket
@@ -79,7 +80,7 @@ public:
bool Get(std::string_view Bucket, const zen::IoHash& HashKey, ZenCacheValue& OutValue);
void Put(std::string_view Bucket, const zen::IoHash& HashKey, const ZenCacheValue& Value);
-
+ bool DropBucket(std::string_view Bucket);
void Flush();
private:
@@ -102,6 +103,7 @@ public:
bool Get(std::string_view Bucket, const zen::IoHash& HashKey, ZenCacheValue& OutValue);
void Put(std::string_view Bucket, const zen::IoHash& HashKey, const ZenCacheValue& Value);
+ bool DropBucket(std::string_view Bucket);
void Flush();
private: