Liking cljdoc? Tell your friends :D

immutant.transactions.scope

Macros that control transaction scope, analagous to JEE transaction attributes

Macros that control transaction scope, analagous to
[JEE transaction attributes](https://docs.oracle.com/javaee/7/tutorial/transactions003.htm)
raw docstring

mandatorycljmacro

(mandatory & body)

JEE Mandatory - throws an exception unless there's an active transaction in which body will be run

JEE Mandatory - throws an exception unless there's an active
transaction in which body will be run
sourceraw docstring

nevercljmacro

(never & body)

JEE Never - throws an exception if there's an active transaction, otherwise runs body

JEE Never - throws an exception if there's an active transaction,
otherwise runs body
sourceraw docstring

not-supportedcljmacro

(not-supported & body)

JEE NotSupported - suspend current transaction, if any, and run body without a transaction

JEE NotSupported - suspend current transaction, if any, and run
body without a transaction
sourceraw docstring

requiredcljmacro

(required & body)

JEE Required - execute within current transaction, if any, otherwise run body in a new one

JEE Required - execute within current transaction, if any,
otherwise run body in a new one
sourceraw docstring

requires-newcljmacro

(requires-new & body)

JEE RequiresNew - suspend current transaction, if any, and execute body in a new one

JEE RequiresNew - suspend current transaction, if any, and execute
body in a new one
sourceraw docstring

supportscljmacro

(supports & body)

JEE Supports - run body regardless of current transaction state (unpredictable)

JEE Supports - run body regardless of current transaction
state (unpredictable)
sourceraw docstring

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

× close