Class ThreadContextBatchFactory
java.lang.Object
org.wildfly.clustering.cache.infinispan.batch.ThreadContextBatchFactory
- Direct Known Subclasses:
SimpleContextualBatchFactory, TransactionalBatchFactory
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionThreadContextBatchFactory(Supplier<ContextualBatch> factory) Creates a batch factory whose batches are referenced viaThreadLocal. -
Method Summary
Methods 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
-
ThreadContextBatchFactory
Creates a batch factory whose batches are referenced viaThreadLocal.- Parameters:
factory- a batch factory
-
-
Method Details
-
get
-