Class TransactionalBatchFactory
java.lang.Object
org.wildfly.clustering.cache.infinispan.batch.ThreadContextBatchFactory
org.wildfly.clustering.cache.infinispan.batch.TransactionalBatchFactory
A factory for creating thread context batches referencing transactional batches.
- Author:
- Paul Ferraro
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionalBatchFactory(String name, jakarta.transaction.TransactionManager tm, Function<Exception, RuntimeException> exceptionTransformer) Creates a transactional batch factory. -
Method Summary
Methods inherited from class ThreadContextBatchFactory
getMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Supplier
handle, thenAccept, thenApply, thenApplyAsDouble, thenApplyAsInt, thenApplyAsLong, thenTest
-
Constructor Details
-
TransactionalBatchFactory
public TransactionalBatchFactory(String name, jakarta.transaction.TransactionManager tm, Function<Exception, RuntimeException> exceptionTransformer) Creates a transactional batch factory.- Parameters:
name- the name of this contexttm- a transaaction managerexceptionTransformer- a runtime exception wrapper for transaction exceptions
-