Class TransactionalBatchFactory

java.lang.Object
org.wildfly.clustering.cache.infinispan.batch.ThreadContextBatchFactory
org.wildfly.clustering.cache.infinispan.batch.TransactionalBatchFactory
All Implemented Interfaces:
Supplier<Batch>, Supplier<Batch>

public class TransactionalBatchFactory extends ThreadContextBatchFactory
A factory for creating thread context batches referencing transactional batches.
Author:
Paul Ferraro
  • 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 context
      tm - a transaaction manager
      exceptionTransformer - a runtime exception wrapper for transaction exceptions