Interface DatabaseAPI.TransactedWithResult<T>
- Type Parameters:
T
- The type of the result of the code.
- Enclosing interface:
- DatabaseAPI
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Some code that may be run within a transaction that returns a result.
-
Method Summary
-
Method Details
-
act
T act()The operation to run.- Returns:
- The result of the operation.
-