Package | Description |
---|---|
org.multiverse.api | |
org.multiverse.stms.gamma |
Modifier and Type | Method and Description |
---|---|
static long |
StmUtils.atomic(TxnLongCallable callable)
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
|
static long |
StmUtils.atomic(TxnLongCallable either,
TxnLongCallable orelse)
Executes the either block, or in case of a retry, the orelse block is executed.
|
static long |
StmUtils.atomicChecked(TxnLongCallable callable)
Executes the callable transactionally on the GlobalStmInstance using the default TxnExecutor.
|
static long |
StmUtils.atomicChecked(TxnLongCallable either,
TxnLongCallable orelse)
Executes the either block, or in case of a retry, the orelse block is executed.
|
long |
TxnExecutor.execute(TxnLongCallable callable)
Executes the transactional callable.
|
long |
OrElseBlock.execute(TxnLongCallable either,
TxnLongCallable orelse)
Executes the either, or when it is retried, the orelse block.
|
long |
TxnExecutor.executeChecked(TxnLongCallable callable)
Executes the callable.
|
long |
OrElseBlock.executeChecked(TxnLongCallable either,
TxnLongCallable orelse)
Executes the either, or when it is retried, the orelse block.
|
Modifier and Type | Method and Description |
---|---|
long |
LeanGammaTxnExecutor.execute(TxnLongCallable callable) |
long |
FatGammaTxnExecutor.execute(TxnLongCallable callable) |
long |
GammaOrElseBlock.execute(TxnLongCallable either,
TxnLongCallable orelse) |
long |
LeanGammaTxnExecutor.executeChecked(TxnLongCallable callable) |
long |
FatGammaTxnExecutor.executeChecked(TxnLongCallable callable) |
long |
GammaOrElseBlock.executeChecked(TxnLongCallable either,
TxnLongCallable orelse) |
Copyright © 2020. All rights reserved.