public class DownloadBolt extends Object implements backtype.storm.topology.IRichBolt
StatusConsumer
on Status
recievedConstructor and Description |
---|
DownloadBolt(boolean stats,
File globalStats,
File outputLocation,
List<OutputListener> outmodes)
Information for the
StatusConsumer instances |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
declareOutputFields(backtype.storm.topology.OutputFieldsDeclarer declarer) |
void |
execute(backtype.storm.tuple.Tuple input) |
Map<String,Object> |
getComponentConfiguration() |
void |
prepare(Map stormConf,
backtype.storm.task.TopologyContext context,
backtype.storm.task.OutputCollector collector) |
public DownloadBolt(boolean stats, File globalStats, File outputLocation, List<OutputListener> outmodes)
StatusConsumer
instancesstats
- globalStats
- outputLocation
- outmodes
- public void prepare(Map stormConf, backtype.storm.task.TopologyContext context, backtype.storm.task.OutputCollector collector)
prepare
in interface backtype.storm.task.IBolt
public void execute(backtype.storm.tuple.Tuple input)
execute
in interface backtype.storm.task.IBolt
public void cleanup()
cleanup
in interface backtype.storm.task.IBolt
public void declareOutputFields(backtype.storm.topology.OutputFieldsDeclarer declarer)
declareOutputFields
in interface backtype.storm.topology.IComponent
public Map<String,Object> getComponentConfiguration()
getComponentConfiguration
in interface backtype.storm.topology.IComponent