|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
net.sourceforge.rssowl.controller.thread.FeedQueueLoader
public class FeedQueueLoader
The RSS queue loader is a thread that loads feed from a Vector. The feeds are loaded feed by feed beginning with the first element of the vector.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
(package private) int |
counter
|
private java.util.Vector |
feedQueue
|
private static int |
GAP_BETWEEN_LOADING
Miliseconds to wait before loading the next chunk of Feeds |
private boolean |
isRunning
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
FeedQueueLoader()
Instantiate a new FeedQueueLoader Thread |
|
| Method Summary | |
|---|---|
void |
addFeed(java.lang.String url)
Add a feed to the queue |
(package private) java.lang.String |
getLastFeed()
Get the last feed to load |
(package private) java.lang.String |
getNextFeed()
Get the next feed to load |
boolean |
isRunning()
Check wether this Thread is currently running. |
void |
run()
|
void |
startThread()
Start the RSS Queue loader Thread |
void |
stopThread()
Stop the RSS Queue loader Thread |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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.util.Vector feedQueue
int counter
private boolean isRunning
private static final int GAP_BETWEEN_LOADING
| Constructor Detail |
|---|
public FeedQueueLoader()
| Method Detail |
|---|
public void addFeed(java.lang.String url)
url - URL of the feedpublic void run()
run in interface java.lang.Runnablerun in class java.lang.ThreadThread.run()public void startThread()
public void stopThread()
java.lang.String getLastFeed()
java.lang.String getNextFeed()
public boolean isRunning()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||