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