Package org.hibernate.reactive.engine
Interface ReactiveAfterTransactionCompletionProcess
-
public interface ReactiveAfterTransactionCompletionProcess
Contract representing some process that needs to occur during after transaction completion.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionStage<Void>
doAfterTransactionCompletion(boolean success, ReactiveSession session)
Perform whatever processing is encapsulated here after completion of the transaction.
-
-
-
Method Detail
-
doAfterTransactionCompletion
CompletionStage<Void> doAfterTransactionCompletion(boolean success, ReactiveSession session)
Perform whatever processing is encapsulated here after completion of the transaction.- Parameters:
success
- Did the transaction complete successfully? True means it did.session
- The session on which the transaction is completing.
-
-