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.

@FunctionalInterface public interface VTransactionAfterCompletionFunction
Function call on transaction completion. Inspired from javax.transaction.Synchronization.
Author:
npiedeloup
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterCompletion(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.