|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
stockDataRetrieval.NewsDownloaderThread.NotifyThread
Class to handle the notification of the owner class that the NewsDownloaderThread has completed.
This prevents a thread from quiting while waiting in a queue for access to another object's notification function (because the notification function is usually synchronized).
| Field Summary | |
private java.lang.Object |
registeredOwner
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
NewsDownloaderThread.NotifyThread(java.lang.Object _registeredOwner)
Create the thread with the reference to the object which to notify |
|
| Method Summary | |
void |
run()
|
| 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 |
private java.lang.Object registeredOwner
| Constructor Detail |
public NewsDownloaderThread.NotifyThread(java.lang.Object _registeredOwner)
_registeredOwner - The owner to be notified| Method Detail |
public void run()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||