elephant:with-transaction &key &body body | Macro |
Execute a body with a transaction in place. On success, the transaction is committed. Otherwise, the transaction is aborted. If the body deadlocks, the body is re-executed in a new transaction, retrying a fixed number of iterations. *auto-commit* is false for the body of the transaction. |
elephant:*auto-commit* | Variable |
Commit things not in transactions? |
elephant:*current-transaction* | Variable |
The transaction which is currently in effect. |
elephant:start-transaction &key parent | Function |
Start a transaction. May be nested but not interleaved. |
elephant:commit-transaction | Function |
Commit the current transaction. |
elephant:abort-transaction | Function |
Abort the current transaction. |