Package de.uplanet.server.transaction
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.
-
Method Summary
Modifier and TypeMethodDescriptiondefault IAfterCommitAction
merge
(IAfterCommitAction p_afterCommitAction) Try to merge this action with the given one.void
perform()
Performs this after-commit action.
-
Method Details
-
perform
void perform()Performs this after-commit action. -
merge
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. Otherwisenull
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.
-