public class JsonObjectFileSource extends BasicSource
| Constructor and Description |
|---|
JsonObjectFileSource(ConfigLoadContext sc,
org.json.JSONObject config) |
JsonObjectFileSource(String filename) |
| Modifier and Type | Method and Description |
|---|---|
protected MessageAndRouting |
internalGetNextMessage(StreamProcessingContext spc)
Get the next pending message, if any.
|
boolean |
isEof()
Is the source at EOF? Not all sources are bounded, so they may
always return false.
|
close, getBackoffTimes, getNextMessage, makeDefRoutingMessage, markComplete, noteEndOfStream, requeuepublic JsonObjectFileSource(ConfigLoadContext sc, org.json.JSONObject config) throws Builder.BuildFailure
Builder.BuildFailurepublic JsonObjectFileSource(String filename) throws Builder.BuildFailure
Builder.BuildFailurepublic boolean isEof()
SourceisEof in interface SourceisEof in class BasicSourceprotected MessageAndRouting internalGetNextMessage(StreamProcessingContext spc) throws IOException, InterruptedException
BasicSourceinternalGetNextMessage in class BasicSourceIOExceptionInterruptedExceptionCopyright © 2022 continual.io. All rights reserved.