org.cdlib.xtf.util
Class ProcessRunner.Interrupter

Object
  extended by TimerTask
      extended by ProcessRunner.Interrupter
All Implemented Interfaces:
Runnable
Enclosing class:
ProcessRunner

private static class ProcessRunner.Interrupter
extends TimerTask

Used to interrupt the main thread if a timeout occurs


Field Summary
 Thread mainThread
           
 
Constructor Summary
ProcessRunner.Interrupter(Thread mainThread)
           
 
Method Summary
 void run()
           
 
Methods inherited from class TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mainThread

public Thread mainThread
Constructor Detail

ProcessRunner.Interrupter

public ProcessRunner.Interrupter(Thread mainThread)
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask