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.
@Scriptable @FunctionalInterface public interface IAfterCommitAction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IAfterCommitAction
merge(IAfterCommitAction p_afterCommitAction)
Try to merge this action with the given one.void
perform()
Performs this after-commit action.
-
-
-
Method Detail
-
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. 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.
-
-