Interface TransactionBody<T>

Type Parameters:
T - the return type

public interface TransactionBody<T>
A functional interface representing the body of a transaction. Implementations of this interface should be idempotent in order to support transaction retry logic.
Since:
3.10
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Execute the body of the transaction.
  • Method Details

    • execute

      T execute()
      Execute the body of the transaction.
      Returns:
      the result of the transaction body