Class ThreadContextBatchFactory

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

public class ThreadContextBatchFactory extends Object implements Supplier<Batch>
A factory that ThreadContextBatch.
Author:
Paul Ferraro
  • Constructor Details

    • ThreadContextBatchFactory

      public ThreadContextBatchFactory(Supplier<ContextualBatch> factory)
      Creates a batch factory whose batches are referenced via ThreadLocal.
      Parameters:
      factory - a batch factory
  • Method Details