Class BaseWorkerHook

java.lang.Object
org.apache.storm.hooks.BaseWorkerHook
All Implemented Interfaces:
Serializable, IWorkerHook

public class BaseWorkerHook extends Object implements IWorkerHook, Serializable
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 Details

    • BaseWorkerHook

      public BaseWorkerHook()
  • Method Details

    • shutdown

      public void shutdown()
      This method is called right before a worker shuts down.
      Specified by:
      shutdown in interface IWorkerHook