water.deploy
Class VM.Watchdog

java.lang.Object
  extended by water.deploy.VM
      extended by water.deploy.VM.Watchdog
Direct Known Subclasses:
VM.SSH
Enclosing class:
VM

public static class VM.Watchdog
extends VM

A VM whose only job is to wait for its parent to be gone, then kill its child process. Otherwise every killed test leaves a bunch of orphan ssh and java processes.


Nested Class Summary
 
Nested classes/interfaces inherited from class water.deploy.VM
VM.SSH, VM.Watchdog
 
Constructor Summary
VM.Watchdog(java.lang.String[] java, java.lang.String[] node)
           
 
Method Summary
protected static void exec(java.util.ArrayList<java.lang.String> list)
           
 
Methods inherited from class water.deploy.VM
exitWithParent, inheritIO, inheritIO, isAlive, kill, persistIO, persistIO, process, start, waitFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VM.Watchdog

public VM.Watchdog(java.lang.String[] java,
                   java.lang.String[] node)
Method Detail

exec

protected static void exec(java.util.ArrayList<java.lang.String> list)
                    throws java.lang.Exception
Throws:
java.lang.Exception