Interface Killable

    • 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