Interface TransactionalState.Callable<R, X extends Throwable>
- Type Parameters:
R- The result type.X- The type of exception thrown by the action.
- Enclosing class:
TransactionalState
public static interface TransactionalState.Callable<R, X extends Throwable>
A transactional action that returns a result.
- Author:
- Rob Spoor
- Since:
- 2.0
-
Method Summary
-
Method Details
-
call
Runs the transactional action.- Returns:
- The result of the action.
- Throws:
X- If the action completes with an exception.
-