public static class TestTopology.FailEveryOther extends backtype.storm.topology.base.BaseRichBolt
Constructor and Description |
---|
FailEveryOther() |
Modifier and Type | Method and Description |
---|---|
void |
declareOutputFields(backtype.storm.topology.OutputFieldsDeclarer declarer) |
void |
execute(backtype.storm.tuple.Tuple tuple) |
void |
prepare(Map map,
backtype.storm.task.TopologyContext tc,
backtype.storm.task.OutputCollector collector) |
public FailEveryOther()
public void prepare(Map map, backtype.storm.task.TopologyContext tc, backtype.storm.task.OutputCollector collector)
public void execute(backtype.storm.tuple.Tuple tuple)
public void declareOutputFields(backtype.storm.topology.OutputFieldsDeclarer declarer)