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 CommitHandlerFactory
Functional interface describing a factory function for constructingCommitHandler
instances.Default implementations can be obtained from
DefaultCommitHandlers
.- See Also:
- SampleCommitHandlerFactory, SampleCommitHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommitHandler
create(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.
-
-