org.apache.storm.daemon.supervisor

## Interface Killable

- All Known Implementing Classes:
    BasicContainer, Container, LocalContainer

      public interface Killable

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `areAllProcessesDead()` Check whether all processes are dead.
    `void` | `cleanUp()` Clean up the container.
    `void` | `forceKill()` Kill the processes in this container violently.
    `void` | `kill()` Kill the processes in this container nicely.

- - ### Method Detail

    - #### kill

          void kill()
             throws IOException

      Kill the processes in this container nicely. kill -15 equivalent

      Throws:
        `IOException` - on any error

    - #### forceKill

          void forceKill()
                  throws IOException

      Kill the processes in this container violently. kill -9 equivalent

      Throws:
        `IOException` - on any error

    - #### areAllProcessesDead

          boolean areAllProcessesDead()
                               throws IOException

      Check whether all processes are dead.

      Returns:
        true if all of the processes are dead, else false
      Throws:
        `IOException` - on any error

    - #### cleanUp

          void cleanUp()
                throws IOException

      Clean up the container. It is not coming back. by default do the same thing as when restarting.

      Throws:
        `IOException` - on any error

Copyright © 2021 The Apache Software Foundation. All rights reserved.