Liking cljdoc? Tell your friends :D

immutant.transactions

Provides support for distributed (XA) transactions.

Provides support for distributed (XA) transactions.
raw docstring

enlistclj

(enlist resource)

Enlist a valid XAResource as a participant in the current transaction. Not required for Immutant resources, i.e. messaging and caching, as they will be enlisted automatically.

Enlist a valid XAResource as a participant in the current
transaction. Not required for Immutant resources, i.e. messaging and
caching, as they will be enlisted automatically.
sourceraw docstring

managerclj

(manager)

The JTA TransactionManager

The JTA TransactionManager
sourceraw docstring

set-rollback-onlyclj

(set-rollback-only)

Modify the current transaction such that the only possible outcome is a rollback; useful when rollback is desired but an exception is not

Modify the current transaction such that the only possible outcome
is a rollback; useful when rollback is desired but an exception is
not
sourceraw docstring

transactioncljmacro

(transaction & body)

Execute body within current transaction, if any, otherwise start a new transaction, execute body, and either commit or rollback all actions on XA components contained therein atomically. Any exception tossed within the body will cause the transaction to rollback. Otherwise, the transaction is committed and the value of the last expression in the body is returned. This is effectively an alias for the immutant.transactions.scope/required transaction scope.

Execute body within current transaction, if any, otherwise start a
new transaction, execute body, and either commit or rollback all
actions on XA components contained therein atomically. Any exception
tossed within the body will cause the transaction to rollback.
Otherwise, the transaction is committed and the value of the last
expression in the body is returned. This is effectively an alias for
the [[immutant.transactions.scope/required]] transaction scope.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close