Package org.hibernate.reactive.event
Interface ReactivePersistEventListener
-
public interface ReactivePersistEventListener
Defines the contract for handling of create events generated from a session.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionStage<Void>
reactiveOnPersist(PersistEvent event)
Handle the given create event.CompletionStage<Void>
reactiveOnPersist(PersistEvent event, PersistContext createdAlready)
Handle the given create event.
-
-
-
Method Detail
-
reactiveOnPersist
CompletionStage<Void> reactiveOnPersist(PersistEvent event)
Handle the given create event.- Parameters:
event
- The create event to be handled.
-
reactiveOnPersist
CompletionStage<Void> reactiveOnPersist(PersistEvent event, PersistContext createdAlready)
Handle the given create event.- Parameters:
event
- The create event to be handled.
-
-