protected class NativeCommand.Watcher
extends java.util.TimerTask
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Thread |
interruptableThread |
protected long |
startTime |
| Modifier | Constructor and Description |
|---|---|
protected |
Watcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
interruptThreadOnTaskTermination(java.lang.Thread thread) |
void |
run() |
protected long startTime
protected java.lang.Thread interruptableThread
public void interruptThreadOnTaskTermination(java.lang.Thread thread)
thread - actually redundant but makes things clearerpublic void run()
run in interface java.lang.Runnablerun in class java.util.TimerTask