summaryrefslogtreecommitdiffstats
path: root/common/storage.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-13 22:43:36 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-13 22:43:36 +0200
commit4385c6bae1a66aa94beb703dcc16e12bdf0ebb0e (patch)
treef0ff0b4a847cf9d28138749a24b3087eafe7559f /common/storage.h
parent4fb293ac5c684c9bb7bf0e8d1e9d5b0f3f4296ab (diff)
downloadsink-4385c6bae1a66aa94beb703dcc16e12bdf0ebb0e.tar.gz
sink-4385c6bae1a66aa94beb703dcc16e12bdf0ebb0e.zip
Autocommit for the transaction
Diffstat (limited to 'common/storage.h')
-rw-r--r--common/storage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/storage.h b/common/storage.h
index 9fe4e99..da225ef 100644
--- a/common/storage.h
+++ b/common/storage.h
@@ -59,6 +59,8 @@ public:
59 bool commit(const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>()); 59 bool commit(const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>());
60 void abort(); 60 void abort();
61 61
62 void setAutocommit(int interval);
63
62 /** 64 /**
63 * Write a value 65 * Write a value
64 */ 66 */