Uses of Interface
org.multiverse.api.callables.TxnCallable
-
Packages that use TxnCallable Package Description org.multiverse.api org.multiverse.stms.gamma -
-
Uses of TxnCallable in org.multiverse.api
Methods in org.multiverse.api with parameters of type TxnCallable Modifier and Type Method Description 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. -
Uses of TxnCallable in org.multiverse.stms.gamma
Methods in org.multiverse.stms.gamma with parameters of type TxnCallable Modifier and Type Method Description <E> E
FatGammaTxnExecutor. execute(TxnCallable<E> callable)
private <E> E
FatGammaTxnExecutor. execute(GammaTxn tx, TxnThreadLocal.Container transactionContainer, GammaTxnPool pool, TxnCallable<E> callable)
<E> E
GammaOrElseBlock. execute(TxnCallable<E> either, TxnCallable<E> orelse)
<E> E
LeanGammaTxnExecutor. execute(TxnCallable<E> callable)
<E> E
FatGammaTxnExecutor. executeChecked(TxnCallable<E> callable)
<E> E
GammaOrElseBlock. executeChecked(TxnCallable<E> either, TxnCallable<E> orelse)
<E> E
LeanGammaTxnExecutor. executeChecked(TxnCallable<E> callable)
-