public static class sitemapParser.SitemapReader
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
private ClientIdentification.Agent |
agent |
private java.util.concurrent.BlockingQueue<sitemapParser.URLEntry> |
queue |
private java.io.InputStream |
source |
Constructor and Description |
---|
sitemapParser.SitemapReader(java.io.InputStream source,
ClientIdentification.Agent agent) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
sitemapParser.URLEntry |
take()
retrieve the next entry, waiting until one becomes available.
|
activeCount, 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, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private final java.io.InputStream source
private final java.util.concurrent.BlockingQueue<sitemapParser.URLEntry> queue
private final ClientIdentification.Agent agent
public sitemapParser.SitemapReader(java.io.InputStream source, ClientIdentification.Agent agent)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public sitemapParser.URLEntry take()