public class DisruptorExecutor<I,O,E> extends BaseHoodieQueueBasedExecutor<I,O,E>
consumer, queue| Constructor and Description |
|---|
DisruptorExecutor(Integer bufferSize,
Iterator<I> inputItr,
HoodieConsumer<O,E> consumer,
Function<I,O> transformFunction,
String waitStrategy,
Runnable preExecuteRunnable) |
DisruptorExecutor(int bufferSize,
List<HoodieProducer<I>> producers,
HoodieConsumer<O,E> consumer,
Function<I,O> transformFunction,
String waitStrategyId,
Runnable preExecuteRunnable) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doConsume(HoodieMessageQueue<I,O> queue,
HoodieConsumer<O,E> consumer) |
protected void |
setUp() |
awaitTermination, doProduce, execute, isRunning, shutdownNow, startProducingAsyncpublic DisruptorExecutor(Integer bufferSize, Iterator<I> inputItr, HoodieConsumer<O,E> consumer, Function<I,O> transformFunction, String waitStrategy, Runnable preExecuteRunnable)
protected void setUp()
setUp in class BaseHoodieQueueBasedExecutor<I,O,E>protected void doConsume(HoodieMessageQueue<I,O> queue, HoodieConsumer<O,E> consumer)
doConsume in class BaseHoodieQueueBasedExecutor<I,O,E>Copyright © 2024 The Apache Software Foundation. All rights reserved.