static <E> E |
StmUtils.atomic(TxnCallable<E> callable) |
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
|
static <E> E |
StmUtils.atomic(TxnCallable<E> either,
TxnCallable<E> orelse) |
Executes the either block, or in case of a retry, the orelse block is executed.
|
static <E> E |
StmUtils.atomicChecked(TxnCallable<E> callable) |
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
|
static <E> E |
StmUtils.atomicChecked(TxnCallable<E> either,
TxnCallable<E> orelse) |
Executes the either block, or in case of a retry, the orelse block is executed.
|
<E> E |
OrElseBlock.execute(TxnCallable<E> either,
TxnCallable<E> orelse) |
Executes the either, or when it is retried, the orelse block.
|
<E> E |
TxnExecutor.execute(TxnCallable<E> callable) |
Executes the transactional callable.
|
<E> E |
OrElseBlock.executeChecked(TxnCallable<E> either,
TxnCallable<E> orelse) |
Executes the either, or when it is retried, the orelse block.
|
<E> E |
TxnExecutor.executeChecked(TxnCallable<E> callable) |
Executes the callable.
|