Package org.hibernate.reactive.event
Interface ReactiveRefreshEventListener
-
- All Superinterfaces:
Serializable
public interface ReactiveRefreshEventListener extends Serializable
Defines the contract for handling of refresh events generated from a session.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionStage<Void>
reactiveOnRefresh(RefreshEvent event)
Handle the given refresh event.CompletionStage<Void>
reactiveOnRefresh(RefreshEvent event, org.hibernate.internal.util.collections.IdentitySet refreshedAlready)
-
-
-
Method Detail
-
reactiveOnRefresh
CompletionStage<Void> reactiveOnRefresh(RefreshEvent event) throws HibernateException
Handle the given refresh event.- Parameters:
event
- The refresh event to be handled.- Throws:
HibernateException
-
reactiveOnRefresh
CompletionStage<Void> reactiveOnRefresh(RefreshEvent event, org.hibernate.internal.util.collections.IdentitySet refreshedAlready) throws HibernateException
- Throws:
HibernateException
-
-