Package org.apache.storm.hooks

# 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:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BaseWorkerHook()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `shutdown()`
  This method is called right before a worker shuts down.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface org.apache.storm.hooks.IWorkerHook

  `start, start`

- ## 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`