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

    Modifier and Type
    Method
    Description
    Runs the transactional action.
  • Method Details

    • call

      R call() throws X
      Runs the transactional action.
      Returns:
      The result of the action.
      Throws:
      X - If the action completes with an exception.