Package com.pyranid
Interface ReturningTransactionalOperation<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a transactional operation capable of returning a value.
See TransactionalOperation
for a variant with a void
return type.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Method Summary
-
Method Details
-
perform
Executes a transactional operation.- Returns:
- the result of operation execution
- Throws:
Exception
- if an error occurs while executing the transactional operation
-