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