|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
org.keel.clients.direct.MonitorForKeelDirectServer
| Field Summary | |
(package private) java.lang.Class |
keelDirectServerClazz |
(package private) java.lang.Thread |
keelDirectServerInstance |
(package private) java.lang.Thread |
threadToWatch |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
MonitorForKeelDirectServer()This thread periodically calls thread.isAlive(); When it determines that thread is no longer alive, then it tells the keelDirectServer to exit it's thread, and then this thread exits itself. |
|
| Method Summary | |
void |
print(java.lang.String string)Causes text to appear on the std error. |
void |
run()Cause this thread to sleep until theThreadToWatch.isAlive() returns false... |
void |
setKeelDirectServer(java.lang.Thread keelDirectServer) |
void |
setKeelDirectServerClass(java.lang.Class theKeelDirectServerClazz) |
void |
setThreadToWatch(java.lang.Thread thread) |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, 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 |
java.lang.Thread threadToWatch
java.lang.Thread keelDirectServerInstance
java.lang.Class keelDirectServerClazz
| Constructor Detail |
public MonitorForKeelDirectServer()
| Method Detail |
public void run()
public void setThreadToWatch(java.lang.Thread thread)
thread -public void setKeelDirectServer(java.lang.Thread keelDirectServer)
keelDirectServer -public void setKeelDirectServerClass(java.lang.Class theKeelDirectServerClazz)
theKeelDirectServerClazz -public final void print(java.lang.String string)
string -
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||