public class WrapperCustomInput
extends org.thales.punch.libraries.storm.api.BaseInputNode
| Constructor and Description |
|---|
WrapperCustomInput(org.thales.punch.libraries.storm.api.NodeSettings spoutConfig,
com.github.punch.api.storm.nodes.PunchInputNode node) |
| Modifier and Type | Method and Description |
|---|---|
void |
ack(Object msgId) |
void |
activate() |
void |
close() |
void |
deactivate() |
void |
declareOutputFields(org.apache.storm.topology.OutputFieldsDeclarer declarer) |
void |
fail(Object msgId) |
Map<String,Object> |
getComponentConfiguration() |
void |
nextTuple() |
void |
open(Map conf,
org.apache.storm.task.TopologyContext context,
org.apache.storm.spout.SpoutOutputCollector collector) |
getPublishedStreams, regulate, sendLatencyRecordpublic static final String TYPE
public WrapperCustomInput(org.thales.punch.libraries.storm.api.NodeSettings spoutConfig,
com.github.punch.api.storm.nodes.PunchInputNode node)
public void open(Map conf, org.apache.storm.task.TopologyContext context, org.apache.storm.spout.SpoutOutputCollector collector)
open in interface org.apache.storm.spout.ISpoutopen in class org.thales.punch.libraries.storm.api.BaseInputNodepublic void close()
close in interface org.apache.storm.spout.ISpoutclose in class org.thales.punch.libraries.storm.api.BaseInputNodepublic void activate()
activate in interface org.apache.storm.spout.ISpoutactivate in class org.apache.storm.topology.base.BaseRichSpoutpublic void deactivate()
deactivate in interface org.apache.storm.spout.ISpoutdeactivate in class org.thales.punch.libraries.storm.api.BaseInputNodepublic void nextTuple()
public void ack(Object msgId)
ack in interface org.apache.storm.spout.ISpoutack in class org.thales.punch.libraries.storm.api.BaseInputNodepublic void fail(Object msgId)
fail in interface org.apache.storm.spout.ISpoutfail in class org.thales.punch.libraries.storm.api.BaseInputNodepublic void declareOutputFields(org.apache.storm.topology.OutputFieldsDeclarer declarer)
declareOutputFields in interface org.apache.storm.topology.IComponentdeclareOutputFields in class org.thales.punch.libraries.storm.api.BaseInputNodeCopyright © 2023. All rights reserved.