Package org.apache.heron.api.bolt
Class BaseRichBolt
- java.lang.Object
-
- org.apache.heron.api.topology.BaseComponent
-
- org.apache.heron.api.bolt.BaseRichBolt
-
- All Implemented Interfaces:
Serializable
,IBolt
,IRichBolt
,IComponent
- Direct Known Subclasses:
StreamletOperator
public abstract class BaseRichBolt extends BaseComponent implements IRichBolt
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseRichBolt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
Called when an IBolt is going to be shutdown.-
Methods inherited from class org.apache.heron.api.topology.BaseComponent
getComponentConfiguration
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.heron.api.topology.IComponent
declareOutputFields, getComponentConfiguration
-
-
-
-
Method Detail
-
cleanup
public void cleanup()
Description copied from interface:IBolt
Called when an IBolt is going to be shutdown. There is no guarentee that cleanup will be called, because the supervisor kill -9's worker processes on the cluster.The one context where cleanup is guaranteed to be called is when a topology is killed when running Heron in simulator.
-
-