Package org.hibernate.reactive.event
Interface ReactiveFlushEventListener
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
DefaultReactiveFlushEventListener
public interface ReactiveFlushEventListener extends java.io.Serializable
Defines the contract for handling of reactive session flush events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletionStage<java.lang.Void>
reactiveOnFlush(org.hibernate.event.spi.FlushEvent event)
Handle the given flush event.
-
-
-
Method Detail
-
reactiveOnFlush
java.util.concurrent.CompletionStage<java.lang.Void> reactiveOnFlush(org.hibernate.event.spi.FlushEvent event) throws org.hibernate.HibernateException
Handle the given flush event.- Parameters:
event
- The flush event to be handled.- Throws:
org.hibernate.HibernateException
-
-