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