util
Class SystemProcess.Watcher
java.lang.Object
java.util.TimerTask
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. |
|
Method Summary |
void |
run()
We interrupt the thread we were contructed with. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inter
private Thread inter
- The thread to interrupt.
SystemProcess.Watcher
private SystemProcess.Watcher(Thread ruptus)
run
public void run()
- We interrupt the thread we were contructed with.
- Specified by:
run in interface Runnable- Specified by:
run in class TimerTask