-
- All Implemented Interfaces:
-
java.lang.Runnable
public abstract class StatefulProducerRunnable<T extends Object> extends StatefulRunnable<T>
StatefulRunnable intended to be used by producers.
Class implements common functionality related to handling producer instrumentation and resource management.
-
-
Field Summary
Fields Modifier and Type Field Description private final AtomicIntegermState
-
Constructor Summary
Constructors Constructor Description StatefulProducerRunnable(Consumer<T> consumer, ProducerListener2 producerListener, ProducerContext producerContext, String producerName)
-
Method Summary
Modifier and Type Method Description -
-
Constructor Detail
-
StatefulProducerRunnable
StatefulProducerRunnable(Consumer<T> consumer, ProducerListener2 producerListener, ProducerContext producerContext, String producerName)
-
-
-
-