Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
QueryGoogleWorker(String searchString,
int resNo,
gr.uoa.di.madgik.grs.writer.IRecordWriter<gr.uoa.di.madgik.grs.record.Record> writer,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
Creates a new
QueryGoogleWorker |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
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, yieldpublic QueryGoogleWorker(String searchString, int resNo, gr.uoa.di.madgik.grs.writer.IRecordWriter<gr.uoa.di.madgik.grs.record.Record> writer, long timeout, TimeUnit timeUnit, StatsContainer stats)
QueryGoogleWorkersearchString - The search string to provide goggle withresNo - number of resultswriter - The IRecordWriter which will be used to produce resultstimeout - The timeout which will be used by the writertimeUnit - The time unit of the timeoutstats - statistics1public void run()
run in interface Runnablerun in class ThreadRunnable.run()Copyright © 2017. All Rights Reserved.