backtype.storm.topology
Interface IBasicBolt
- All Superinterfaces:
- IComponent, java.io.Serializable
- All Known Implementing Classes:
- BaseBasicBolt, BatchProcessWord, BatchRepeatA, IdentityBolt, PrepareBatchBolt, PrepareRequest, TestConfBolt, TestWordCounter, TridentSpoutCoordinator
public interface IBasicBolt
- extends IComponent
prepare
void prepare(java.util.Map stormConf,
TopologyContext context)
execute
void execute(Tuple input,
BasicOutputCollector collector)
- Process the input tuple and optionally emit new tuples based on the input tuple.
All acking is managed for you. Throw a FailedException if you want to fail the tuple.
cleanup
void cleanup()