summaryrefslogtreecommitdiff
path: root/src/cachemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cachemanager.h')
-rw-r--r--src/cachemanager.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cachemanager.h b/src/cachemanager.h
index 4fe813e..1660ecf 100644
--- a/src/cachemanager.h
+++ b/src/cachemanager.h
@@ -130,8 +130,17 @@ public:
*/
void close(cacheid_t id);
+ /**
+ * Set internal framesize used when iterating through cache buffers.
+ */
void setFrameSize(size_t framesize);
+ /**
+ * Control reader thread.
+ * Set to true to make reading happen threaded, false to do all reading sync.
+ */
+ void setAsyncMode(bool async);
+
///! Internal thread main method - needs to be public.
void thread_main();