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