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


Method Summary
 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)
           
 
Methods inherited from interface backtype.storm.topology.IComponent
declareOutputFields, getComponentConfiguration
 

Method Detail

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()