summaryrefslogtreecommitdiff
path: root/include/mbgl/storage/sqlite_cache.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/storage/sqlite_cache.hpp')
-rw-r--r--include/mbgl/storage/sqlite_cache.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/storage/sqlite_cache.hpp b/include/mbgl/storage/sqlite_cache.hpp
index 4b51d94920..6e79d44a33 100644
--- a/include/mbgl/storage/sqlite_cache.hpp
+++ b/include/mbgl/storage/sqlite_cache.hpp
@@ -16,6 +16,9 @@ public:
SQLiteCache(const std::string &path = ":memory:");
~SQLiteCache() override;
+ void setMaximumCacheSize(uint64_t size);
+ void setMaximumCacheEntrySize(uint64_t size);
+
// FileCache API
std::unique_ptr<WorkRequest> get(const Resource &resource, Callback callback) override;
void put(const Resource &resource, std::shared_ptr<const Response> response, Hint hint) override;