Package io.vertigo.commons.transaction
Interface VTransactionAfterCompletionFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Function call on transaction completion.
Inspired from javax.transaction.Synchronization.
- Author:
- npiedeloup
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterCompletion(boolean txCommitted) This method is invoked after the transaction has committed or rolled back.
-
Method Details
-
afterCompletion
void afterCompletion(boolean txCommitted) This method is invoked after the transaction has committed or rolled back.- Parameters:
txCommitted- if this transaction was committed successfully.
-