java.lang.Runnablepublic final class QuickMessageThread
extends java.lang.Thread
Frontier.quickReceivedURLs into Frontier.receivedURLs.
The run() method waits on the Frontier.quickReceivedURLs queue, checking that stop becomes true every second.| Modifier and Type | Field | Description |
|---|---|---|
boolean |
stop |
When set to true, this thread will complete its execution.
|
| Constructor | Description |
|---|---|
QuickMessageThread(Frontier frontier) |
Creates the thread.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
run() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic volatile boolean stop
public QuickMessageThread(Frontier frontier)
frontier - the frontier instantiating the thread.