Package org.multiverse.api.callables
Interface TxnVoidCallable
-
public interface TxnVoidCallableA transactional callable contains the logic that needs to be executed transactionally and normally is executed by theTxnExecutor. This transactional callable is optimized for returning void. Useful if no value needs to be returned.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcall(Txn txn)Executes the callable.
-
-
-
Method Detail
-
call
void call(Txn txn) throws java.lang.Exception
Executes the callable.- Parameters:
txn- the Transaction. Depending on the txnPropagationLevel, this could be null.- Throws:
java.lang.Exception- if unable to compute a result
-
-