Package | Description |
---|---|
org.multiverse.api | |
org.multiverse.stms.gamma |
Modifier and Type | Method and 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.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.
|
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 |
TxnExecutor.execute(TxnCallable<E> callable)
Executes the transactional callable.
|
<E> E |
OrElseBlock.execute(TxnCallable<E> either,
TxnCallable<E> orelse)
Executes the either, or when it is retried, the orelse block.
|
<E> E |
OrElseBlock.execute(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.
|
<E> E |
OrElseBlock.executeChecked(TxnCallable<E> either,
TxnCallable<E> orelse)
Executes the either, or when it is retried, the orelse block.
|
<E> E |
OrElseBlock.executeChecked(TxnCallable<E> either,
TxnCallable<E> orelse)
Executes the either, or when it is retried, the orelse block.
|
Modifier and Type | Method and Description |
---|---|
<E> E |
LeanGammaTxnExecutor.execute(TxnCallable<E> callable) |
<E> E |
FatGammaTxnExecutor.execute(TxnCallable<E> callable) |
<E> E |
GammaOrElseBlock.execute(TxnCallable<E> either,
TxnCallable<E> orelse) |
<E> E |
GammaOrElseBlock.execute(TxnCallable<E> either,
TxnCallable<E> orelse) |
<E> E |
LeanGammaTxnExecutor.executeChecked(TxnCallable<E> callable) |
<E> E |
FatGammaTxnExecutor.executeChecked(TxnCallable<E> callable) |
<E> E |
GammaOrElseBlock.executeChecked(TxnCallable<E> either,
TxnCallable<E> orelse) |
<E> E |
GammaOrElseBlock.executeChecked(TxnCallable<E> either,
TxnCallable<E> orelse) |
Copyright © 2020. All rights reserved.