Package ai.velr
Interface TransactionCallback<T>
- Type Parameters:
T- callback result type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback run inside a Velr transaction.
-
Method Summary
-
Method Details
-
run
Execute work using an open transaction.- Parameters:
tx- active transaction- Returns:
- callback result
- Throws:
Exception- any error to propagate and roll back the transaction
-