|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.lang.Thread
|
+--laur.tools.AbortableThread
|
+--laur.tools.MonitoredThread
This abstract class allows a class that implements ThreadMonitor to be notified of the termination of this thread.
| Field Summary | |
protected ThreadMonitor |
monitor
A reference to the monitor that should be notified of the termination of this thread. |
| Fields inherited from class laur.tools.AbortableThread |
bAbort, isRunning |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
MonitoredThread()
|
|
| Method Summary | |
protected void |
terminationHook()
Notify the monitor of the thread termination. |
| Methods inherited from class laur.tools.AbortableThread |
abort, checkAbort, execute, run |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected ThreadMonitor monitor
| Constructor Detail |
public MonitoredThread()
| Method Detail |
protected void terminationHook()
terminationHook in class AbortableThread
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||