|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.multiverse.stms.gamma.AbstractGammaTxnExecutor
org.multiverse.stms.gamma.LeanGammaTxnExecutor
public final class LeanGammaTxnExecutor
The TxnExecutor made for the GammaStm.
This code is generated.
| Field Summary |
|---|
| Fields inherited from class org.multiverse.stms.gamma.AbstractGammaTxnExecutor |
|---|
backoffPolicy, txnConfig, txnFactory |
| Fields inherited from interface org.multiverse.MultiverseConstants |
|---|
LOCKMODE_EXCLUSIVE, LOCKMODE_NONE, LOCKMODE_READ, LOCKMODE_WRITE, SHAKE_BUGS, SPIN_YIELD, TRACING_ENABLED |
| Constructor Summary | |
|---|---|
LeanGammaTxnExecutor(GammaTxnFactory txnFactory)
|
|
| Method Summary | ||
|---|---|---|
|
execute(Callable<E> callable)
|
|
void |
execute(Runnable runnable)
|
|
boolean |
execute(TxnBooleanCallable callable)
Executes the transactional callable. |
|
|
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. |
|
|
executeChecked(Callable<E> callable)
|
|
boolean |
executeChecked(TxnBooleanCallable callable)
Executes the callable. |
|
|
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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LeanGammaTxnExecutor(GammaTxnFactory txnFactory)
| Method Detail |
|---|
public void execute(Runnable runnable)
public <E> E execute(Callable<E> callable)
public <E> E executeChecked(Callable<E> callable)
throws Exception
Exceptionpublic 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
TxnExecutor
callable - the callable to execute.
NullPointerException - if callable is null.
Exception - if the execute call fails.public final <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 final 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 final 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 final 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 final 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 final void execute(TxnVoidCallable callable)
TxnExecutor
callable - the callable to execute.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||