I - Type of entry produced for queuepublic class FunctionBasedQueueProducer<I> extends Object implements HoodieProducer<I>
| Constructor and Description |
|---|
FunctionBasedQueueProducer(Function<HoodieMessageQueue<I,?>,Boolean> producerFunction) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
produce(HoodieMessageQueue<I,?> queue)
API to enqueue entries to bounded queue.
|
public FunctionBasedQueueProducer(Function<HoodieMessageQueue<I,?>,Boolean> producerFunction)
public void produce(HoodieMessageQueue<I,?> queue)
HoodieProducerproduce in interface HoodieProducer<I>queue - In Memory bounded queuepublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface HoodieProducer<I>Copyright © 2024 The Apache Software Foundation. All rights reserved.