public abstract class QueuingSource extends BasicSource
| Modifier | Constructor and Description |
|---|---|
protected |
QueuingSource(org.json.JSONObject config) |
protected |
QueuingSource(String defaultPipelineName) |
| Modifier and Type | Method and Description |
|---|---|
protected MessageAndRouting |
getNextPendingMessage() |
boolean |
hasMessagesReady(StreamProcessingContext spc) |
protected MessageAndRouting |
internalGetNextMessage(StreamProcessingContext spc)
Get the next pending message, if any.
|
protected List<MessageAndRouting> |
reload() |
close, getBackoffTimes, getNextMessage, isEof, makeDefRoutingMessage, markComplete, noteEndOfStream, requeueprotected QueuingSource(String defaultPipelineName)
protected QueuingSource(org.json.JSONObject config)
public boolean hasMessagesReady(StreamProcessingContext spc) throws IOException
IOExceptionprotected MessageAndRouting internalGetNextMessage(StreamProcessingContext spc) throws IOException, InterruptedException
BasicSourceinternalGetNextMessage in class BasicSourceIOExceptionInterruptedExceptionprotected MessageAndRouting getNextPendingMessage()
protected List<MessageAndRouting> reload()
Copyright © 2021 continual.io. All rights reserved.