public interface Killable
| 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.
|
void kill() throws IOException
Kill the processes in this container nicely. kill -15 equivalent
IOException - on any errorvoid forceKill()
throws IOException
Kill the processes in this container violently. kill -9 equivalent
IOException - on any errorboolean areAllProcessesDead()
throws IOException
Check whether all processes are dead.
IOException - on any errorvoid cleanUp()
throws IOException
Clean up the container. It is not coming back. by default do the same thing as when restarting.
IOException - on any errorCopyright © 2021 The Apache Software Foundation. All rights reserved.