Module |
akonadi |
Namespace |
Akonadi |
Class |
TransactionSequence |
Inherits |
Akonadi::Job |
|
Base class for jobs that need to run a sequence of sub-jobs in a transaction.
As soon as the first subjob is added, the transaction is started.
As soon as the last subjob has successfully finished, the transaction is committed.
If any subjob fails, the transaction is rolled back.
Alternatively, a TransactionSequence object can be used as a parent object
for a set of jobs to achieve the same behaviour without subclassing.
|