public final class LeanGammaTxnExecutor extends AbstractGammaTxnExecutor
TxnExecutor made for the GammaStm.
This code is generated.backoffPolicy, txnConfig, txnFactoryLOCKMODE_EXCLUSIVE, LOCKMODE_NONE, LOCKMODE_READ, LOCKMODE_WRITE, SHAKE_BUGS, SPIN_YIELD, TRACING_ENABLED| Constructor and Description |
|---|
LeanGammaTxnExecutor(GammaTxnFactory txnFactory) |
| Modifier and Type | Method and Description |
|---|---|
<E> E |
execute(Callable<E> callable) |
void |
execute(Runnable runnable) |
boolean |
execute(TxnBooleanCallable callable)
Executes the transactional callable.
|
<E> E |
execute(TxnCallable<E> callable)
Executes the transactional callable.
|
double |
execute(TxnDoubleCallable callable)
Executes the transactional callable.
|
int |
execute(TxnIntCallable callable)
Executes the transactional callable.
|
long |
execute(TxnLongCallable callable)
Executes the transactional callable.
|
void |
execute(TxnVoidCallable callable)
Executes the transactional callable.
|
<E> E |
executeChecked(Callable<E> callable) |
boolean |
executeChecked(TxnBooleanCallable callable)
Executes the callable.
|
<E> E |
executeChecked(TxnCallable<E> callable)
Executes the callable.
|
double |
executeChecked(TxnDoubleCallable callable)
Executes the callable.
|
int |
executeChecked(TxnIntCallable callable)
Executes the callable.
|
long |
executeChecked(TxnLongCallable callable)
Executes the callable.
|
void |
executeChecked(TxnVoidCallable callable)
Executes the callable.
|
GammaTxnFactory |
getTxnFactory()
Returns the
TxnFactory that is used by this TxnExecutor to create transactions used to execute
transactional closures. |
public LeanGammaTxnExecutor(GammaTxnFactory txnFactory)
public void execute(Runnable runnable)
public <E> E execute(Callable<E> callable)
public GammaTxnFactory getTxnFactory()
TxnExecutorTxnFactory that is used by this TxnExecutor to create transactions used to execute
transactional closures.public final <E> E executeChecked(TxnCallable<E> callable) throws Exception
TxnExecutorcallable - the callable to execute.NullPointerException - if callable is null.Exception - if the execute call fails.public final <E> E execute(TxnCallable<E> callable)
TxnExecutorcallable - the callable to execute.public final int executeChecked(TxnIntCallable callable) throws Exception
TxnExecutorcallable - the callable to execute.NullPointerException - if callable is null.Exception - if the execute call fails.public final int execute(TxnIntCallable callable)
TxnExecutorcallable - the callable to execute.public final long executeChecked(TxnLongCallable callable) throws Exception
TxnExecutorcallable - the callable to execute.NullPointerException - if callable is null.Exception - if the execute call fails.public final long execute(TxnLongCallable callable)
TxnExecutorcallable - the callable to execute.public final double executeChecked(TxnDoubleCallable callable) throws Exception
TxnExecutorcallable - the callable to execute.NullPointerException - if callable is null.Exception - if the execute call fails.public final double execute(TxnDoubleCallable callable)
TxnExecutorcallable - the callable to execute.public final boolean executeChecked(TxnBooleanCallable callable) throws Exception
TxnExecutorcallable - the callable to execute.NullPointerException - if callable is null.Exception - if the execute call fails.public final boolean execute(TxnBooleanCallable callable)
TxnExecutorcallable - the callable to execute.public final void executeChecked(TxnVoidCallable callable) throws Exception
TxnExecutorcallable - the callable to execute.NullPointerException - if callable is null.Exception - if the execute call fails.public final void execute(TxnVoidCallable callable)
TxnExecutorcallable - the callable to execute.Copyright © 2025. All rights reserved.