util
Class SystemProcess.Watcher

java.lang.Object
  extended by java.util.TimerTask
      extended by util.SystemProcess.Watcher
All Implemented Interfaces:
Runnable
Enclosing class:
SystemProcess

private static class SystemProcess.Watcher
extends TimerTask

A timer task that interrups a particular thread in its run method.


Field Summary
private  Thread inter
          The thread to interrupt.
 
Constructor Summary
private SystemProcess.Watcher(Thread ruptus)
           
 
Method Summary
 void run()
          We interrupt the thread we were contructed with.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inter

private Thread inter
The thread to interrupt.

Constructor Detail

SystemProcess.Watcher

private SystemProcess.Watcher(Thread ruptus)
Method Detail

run

public void run()
We interrupt the thread we were contructed with.

Specified by:
run in interface Runnable
Specified by:
run in class TimerTask