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.
@FunctionalInterface public interface CommitHandlerFactoryFunctional interface describing a factory function for constructingCommitHandlerinstances.Default implementations can be obtained from
DefaultCommitHandlers.- See Also:
- SampleCommitHandlerFactory, SampleCommitHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommitHandlercreate(java.lang.String transactionId, Network network)Factory function to create a commit handler instance.
-
-
-
Method Detail
-
create
CommitHandler create(java.lang.String transactionId, Network network)
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.
-
-