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