Package org.hibernate.reactive.event
Interface ReactiveMergeEventListener
-
- All Superinterfaces:
Serializable
public interface ReactiveMergeEventListener extends Serializable
Defines the contract for handling of merge events generated from a session.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionStage<Void>
reactiveOnMerge(MergeEvent event)
Handle the given merge event.CompletionStage<Void>
reactiveOnMerge(MergeEvent event, MergeContext copiedAlready)
Handle the given merge event.
-
-
-
Method Detail
-
reactiveOnMerge
CompletionStage<Void> reactiveOnMerge(MergeEvent event) throws HibernateException
Handle the given merge event.- Parameters:
event
- The merge event to be handled.- Throws:
HibernateException
-
reactiveOnMerge
CompletionStage<Void> reactiveOnMerge(MergeEvent event, MergeContext copiedAlready) throws HibernateException
Handle the given merge event.- Parameters:
event
- The merge event to be handled.- Throws:
HibernateException
-
-