diff Plugin/Cache/CacheScheduler.h @ 4:ecefd45026bf

configuration of the cache
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 26 Feb 2015 16:55:37 +0100
parents 02f7a0400a91
children a6492d20b2a8
line wrap: on
line diff
--- a/Plugin/Cache/CacheScheduler.h	Thu Feb 26 11:39:28 2015 +0100
+++ b/Plugin/Cache/CacheScheduler.h	Thu Feb 26 16:55:37 2015 +0100
@@ -64,6 +64,10 @@
                   ICacheFactory* factory /* takes ownership */,
                   size_t  numThreads);
 
+    void SetQuota(int bundle,
+                  uint32_t maxCount,
+                  uint64_t maxSpace);
+
     void RegisterPolicy(IPrefetchPolicy* policy /* takes ownership */);
 
     void Invalidate(int bundle,