Package org.apache.storm.hooks
Class BaseWorkerHook
java.lang.Object
org.apache.storm.hooks.BaseWorkerHook
- All Implemented Interfaces:
- Serializable,- IWorkerHook
A BaseWorkerHook is a noop implementation of IWorkerHook. You may extends this class and implement any and/or all
 methods you need for your workers.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidshutdown()This method is called right before a worker shuts down.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.storm.hooks.IWorkerHookstart, start
- 
Constructor Details- 
BaseWorkerHookpublic BaseWorkerHook()
 
- 
- 
Method Details- 
shutdownpublic void shutdown()This method is called right before a worker shuts down.- Specified by:
- shutdownin interface- IWorkerHook
 
 
-