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,
long timeUnit,
TimeUnit units) |
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, long timeUnit, TimeUnit units) throws IOException, InterruptedException
internalGetNextMessage in class BasicSourceIOExceptionInterruptedExceptionprotected MessageAndRouting getNextPendingMessage()
protected List<MessageAndRouting> reload()
Copyright © 2020 continual.io. All rights reserved.