aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/CacheManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/function/CacheManager.h')
-rw-r--r--src/core/function/CacheManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/function/CacheManager.h b/src/core/function/CacheManager.h
index 7a175586..8234de2a 100644
--- a/src/core/function/CacheManager.h
+++ b/src/core/function/CacheManager.h
@@ -83,7 +83,8 @@ class GPGFRONTEND_CORE_EXPORT CacheManager
public:
CacheManager(int channel = SingletonFunctionObject::GetDefaultChannel());
- void SaveCache(std::string key, const nlohmann::json& value);
+ void SaveCache(std::string key, const nlohmann::json& value,
+ bool flush = false);
nlohmann::json LoadCache(std::string key);