Package org.hibernate.reactive.engine
Interface ReactiveAfterTransactionCompletionProcess
-
public interface ReactiveAfterTransactionCompletionProcessContract representing some process that needs to occur during after transaction completion.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletionStage<java.lang.Void>doAfterTransactionCompletion(boolean success, ReactiveSession session)Perform whatever processing is encapsulated here after completion of the transaction.
-
-
-
Method Detail
-
doAfterTransactionCompletion
java.util.concurrent.CompletionStage<java.lang.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.
-
-