Package org.hibernate.reactive.event
Interface ReactivePersistEventListener
- All Known Implementing Classes:
DefaultReactivePersistEventListener,DefaultReactivePersistOnFlushEventListener
public interface ReactivePersistEventListener
Defines the contract for handling of create events generated from a session.
-
Method Summary
Modifier and TypeMethodDescriptionreactiveOnPersist(org.hibernate.event.spi.PersistEvent event) Handle the given create event.reactiveOnPersist(org.hibernate.event.spi.PersistEvent event, org.hibernate.event.spi.PersistContext createdAlready) Handle the given create event.
-
Method Details
-
reactiveOnPersist
Handle the given create event.- Parameters:
event- The create event to be handled.
-
reactiveOnPersist
CompletionStage<Void> reactiveOnPersist(org.hibernate.event.spi.PersistEvent event, org.hibernate.event.spi.PersistContext createdAlready) Handle the given create event.- Parameters:
event- The create event to be handled.
-