Interface IAfterCommitAction

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Scriptable @FunctionalInterface public interface IAfterCommitAction
  • Method Summary

    Modifier and Type
    Method
    Description
    merge(IAfterCommitAction p_afterCommitAction)
    Try to merge this action with the given one.
    void
    Performs this after-commit action.
  • Method Details

    • perform

      void perform()
      Performs this after-commit action.
    • merge

      default IAfterCommitAction merge(IAfterCommitAction p_afterCommitAction)
      Try to merge this action with the given one. If the two actions can be merged to an equivalent one then the merge result is returned. Otherwise null is being returned.

      The default implementation of this method returns null.

      Note: Calling this method must not affect the internal state of this object or the object given as the parameter.

      Parameters:
      p_afterCommitAction - The action to be merged.
      Returns:
      The merge result if the two action can be merged, or null otherwise.