Interface Killable
- All Known Implementing Classes:
BasicContainer
,Container
,LocalContainer
public interface Killable
-
Method Details
-
kill
Kill the processes in this container nicely. kill -15 equivalent- Throws:
IOException
- on any error
-
forceKill
Kill the processes in this container violently. kill -9 equivalent- Throws:
IOException
- on any error
-
areAllProcessesDead
Check whether all processes are dead.- Returns:
- true if all of the processes are dead, else false
- Throws:
IOException
- on any error
-
cleanUp
Clean up the container. It is not coming back. by default do the same thing as when restarting.- Throws:
IOException
- on any error
-