|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
uk.ac.vamsas.client.simpleclient.VamsasFileWatcherThread
Watches a bunch of VamsasFile states, calling the associated event handler when anything changes.
Field Summary | |
int |
WATCH_SLEEP
time between checks for changes of state on the file |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
VamsasFileWatcherThread(EventGeneratorThread client)
|
Method Summary | |
void |
addElement(WatcherElement welement)
|
void |
clearElements()
|
void |
haltWatchers()
|
void |
interrupt()
|
void |
removeElemenet(WatcherElement welement)
|
void |
run()
check each watcher in sequence, monitoring any events generated. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, 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 |
public int WATCH_SLEEP
Constructor Detail |
public VamsasFileWatcherThread(EventGeneratorThread client)
Method Detail |
public void addElement(WatcherElement welement)
public void removeElemenet(WatcherElement welement)
public void clearElements()
public void haltWatchers()
public void run()
public void interrupt()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |