IfConfigTransactionManager (EventLoop& eventloop)
| IfConfigTransactionManager |
Constructor.
Parameters:
eventloop | the event loop to use. |
const string& error ()
| error |
[const]
Get the string with the first error during commit.
Returns: the string with the first error during commit or an empty string if no error.
void pre_commit (uint32_t tid)
| pre_commit |
[protected virtual]
Pre-commit method that is called before the first operation in a commit.
This is an overriding method.
Parameters:
tid | the transaction ID. |
Reimplemented from TransactionManager.
void operation_result (bool success,
const TransactionOperation& op)
| operation_result |
[protected virtual]
Method that is called after each operation.
This is an overriding method.
Parameters:
success | set to true if the operation succeeded, otherwise false. |
op | the operation that has been just called. |
Reimplemented from TransactionManager.