Package org.apache.storm.topology.base
Class BaseRichBolt
java.lang.Object
org.apache.storm.topology.base.BaseComponent
org.apache.storm.topology.base.BaseRichBolt
- All Implemented Interfaces:
- Serializable,- IBolt,- IComponent,- IRichBolt
- Direct Known Subclasses:
- AbstractHdfsBolt,- BaseTickTupleAwareRichBolt,- DevNullBolt,- ExclamationTopology.ExclamationBolt,- ExclamationTopology.ExclamationBolt,- GenericBolt,- HdfsFileTopology.MyBolt,- HdfsSpoutTopology.ConstBolt,- IdBolt,- IdentityBolt,- JoinResult,- KafkaSpoutTestBolt,- LoadBolt,- LookupWordCount.PrintWordTotalCountBolt,- MultipleLoggerTopology.ExclamationLoggingBolt,- ResourceAwareExampleTopology.ExclamationBolt,- ReturnResults,- RollingCountAggBolt,- RollingCountBolt,- SequenceFileTopology.MyBolt,- SingleJoinBolt,- SocketBolt,- TestAggregatesCounter,- TestEventOrderCheckBolt,- TestGlobalCount,- TestPlannerBolt,- WhitelistWordCount.PrintWordTotalCountBolt
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.storm.topology.base.BaseComponentgetComponentConfigurationMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.storm.topology.IComponentdeclareOutputFields, getComponentConfiguration
- 
Constructor Details- 
BaseRichBoltpublic BaseRichBolt()
 
- 
- 
Method Details- 
cleanuppublic void cleanup()Description copied from interface:IBoltCalled when an IBolt is going to be shutdown. Storm will make a best-effort attempt to call this if the worker shutdown is orderly. TheConfig.SUPERVISOR_WORKER_SHUTDOWN_SLEEP_SECSsetting controls how long orderly shutdown is allowed to take. There is no guarantee that cleanup will be called if shutdown is not orderly, or if the shutdown exceeds the time limit.The one context where cleanup is guaranteed to be called is when a topology is killed when running Storm in local mode. 
 
-