public interface IBasicBolt extends IComponent
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
execute(Tuple input,
BasicOutputCollector collector)
Process the input tuple and optionally emit new tuples based on the input tuple.
|
void |
prepare(java.util.Map stormConf,
TopologyContext context) |
declareOutputFields, getComponentConfiguration
void prepare(java.util.Map stormConf, TopologyContext context)
void execute(Tuple input, BasicOutputCollector collector)
All acking is managed for you. Throw a FailedException if you want to fail the tuple.
void cleanup()