Interface CommitHandlerFactory
- All Known Implementing Classes:
DefaultCommitHandlers
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface describing a factory function for constructing
CommitHandler
instances.
Default implementations can be obtained from DefaultCommitHandlers
.
-
Method Summary
Modifier and TypeMethodDescriptionFactory function to create a commit handler instance.
-
Method Details
-
create
Factory function to create a commit handler instance.- Parameters:
transactionId
- Transaction for which the instance is to handle commit events.network
- Network on which the transaction is invoked.- Returns:
- A commit handler.
-