public static final class UDPStreamConsumer.UDPConsumerCallback extends Object implements OutputStreamCallback
| Modifier and Type | Field and Description |
|---|---|
(package private) BufferPool |
bufferPool |
(package private) long |
fileSizeTrigger |
(package private) BlockingQueue<ByteBuffer> |
filledBuffers |
(package private) boolean |
flowFilePerDatagram |
| Constructor and Description |
|---|
UDPConsumerCallback(BlockingQueue<ByteBuffer> filledBuffers,
long fileSizeTrigger,
boolean flowFilePerDatagram) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(OutputStream out) |
void |
setBufferPool(BufferPool pool) |
BufferPool bufferPool
final BlockingQueue<ByteBuffer> filledBuffers
final long fileSizeTrigger
final boolean flowFilePerDatagram
public UDPConsumerCallback(BlockingQueue<ByteBuffer> filledBuffers, long fileSizeTrigger, boolean flowFilePerDatagram)
public void setBufferPool(BufferPool pool)
public void process(OutputStream out) throws IOException
process in interface OutputStreamCallbackIOExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.