diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-08-13 22:43:36 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-08-13 22:43:36 +0200 |
commit | 4385c6bae1a66aa94beb703dcc16e12bdf0ebb0e (patch) | |
tree | f0ff0b4a847cf9d28138749a24b3087eafe7559f /common/storage.h | |
parent | 4fb293ac5c684c9bb7bf0e8d1e9d5b0f3f4296ab (diff) | |
download | sink-4385c6bae1a66aa94beb703dcc16e12bdf0ebb0e.tar.gz sink-4385c6bae1a66aa94beb703dcc16e12bdf0ebb0e.zip |
Autocommit for the transaction
Diffstat (limited to 'common/storage.h')
-rw-r--r-- | common/storage.h | 2 |
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 | */ |