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