Package io.debezium.performance.core
Class ChangeEventQueuePerf.ProducerPerf
- java.lang.Object
-
- io.debezium.performance.core.ChangeEventQueuePerf.ProducerPerf
-
- Direct Known Subclasses:
ChangeEventQueuePerf_ProducerPerf_jmhType_B1
- Enclosing class:
- ChangeEventQueuePerf
public static class ChangeEventQueuePerf.ProducerPerf extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private ChangeEventQueue<String>changeEventQueueprivate Threadconsumerprivate static StringEVENTprivate longpollIntervalMillis
-
Constructor Summary
Constructors Constructor Description ProducerPerf()
-
-
-
Field Detail
-
EVENT
private static final String EVENT
- See Also:
- Constant Field Values
-
pollIntervalMillis
private long pollIntervalMillis
-
changeEventQueue
private ChangeEventQueue<String> changeEventQueue
-
consumer
private Thread consumer
-
-
Method Detail
-
setup
public void setup()
-
benchmarkProducer
public void benchmarkProducer() throws InterruptedException- Throws:
InterruptedException
-
teardown
public void teardown()
-
-