public class FileSpout extends AbstractFileInput implements org.thales.punch.libraries.storm.api.ISpout
FileSpoutWatcher.
To get the complete Java documentation, please see the
AbstractFileInput.
AbstractFileInput.Itemfailed, inputQueue, inputQueues, orderedRead, path, pathRegexPattern, processAlreadyExisting, queueSize| Constructor and Description |
|---|
FileSpout(org.thales.punch.libraries.storm.api.NodeSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
open(Map stormSettings,
org.apache.storm.task.TopologyContext topologyContext,
org.apache.storm.spout.SpoutOutputCollector collector)
Setup this spout before it starts receiving data and emitting tuples into the
topology.
|
ack, drainNextLogs, emitNextLine, fail, getListFiles, nextTuple, readOneFileclose, deactivate, declareOutputFields, getPublishedStreams, regulate, sendLatencyRecordclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterNextTupleCallbackpublic FileSpout(org.thales.punch.libraries.storm.api.NodeSettings settings)
settings - the spout settingspublic void open(Map stormSettings, org.apache.storm.task.TopologyContext topologyContext, org.apache.storm.spout.SpoutOutputCollector collector)
This is called by the Storm runtime at topology activation.
open in interface org.apache.storm.spout.ISpoutopen in class AbstractFileInputstormSettings - storm configurationtopologyContext - the storm topology contextcollector - the output collector for emitting tuples.Copyright © 2023. All rights reserved.