Documentation

ExecuteTryTransactionManager implements IRunnable

Attempts to manage commit/rollback style transactions across multiple units of work. Each supplied ITransaction can use a different storage engine stored, on whatever network, if desired.

1) Transactions are all started in the order they are received. 2) Transactions are run/executed and committed in the order they were received 3) If an exception occurs, the current transaction is rolled back, and any remaining non-committed transactions are also rolled back.

While this does not guarantee that everything will be rolled back, it should help reduce the number of errors.

Table of Contents

$trans A list of transactions \buffalokiwi\magicgraph\persist\ITransaction[]
$afterExecute After execute Closure
__construct() mixed
run() Execute all of the transactions void
rollBack() void

Properties

Methods

Search results