Module storm.java

Interface TransactionSupplier<R,E extends Exception>

Type Parameters:
R - the result type.
E - the checked exception type thrown by the block, if any.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TransactionSupplier<R,E extends Exception>
Since:
1.13
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Executes the block.
  • Method Details

    • get

      R get() throws E
      Executes the block.
      Returns:
      the result of the block.
      Throws:
      E