public abstract class BaseRichBolt extends BaseComponent implements IRichBolt
| Constructor and Description |
|---|
BaseRichBolt() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Called when an IBolt is going to be shutdown.
|
getComponentConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeclareOutputFields, getComponentConfigurationpublic void cleanup()
IBoltCalled 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 Storm in local mode.
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.