gr.uoa.di.madgik.searchlibrary.operatorlibrary.google
Class QueryGoogleWorker
java.lang.Object
java.lang.Thread
gr.uoa.di.madgik.searchlibrary.operatorlibrary.google.QueryGoogleWorker
- All Implemented Interfaces:
- Runnable
public class QueryGoogleWorker
- extends Thread
Worker Thread that continues to update the produced org.gcube.searchservice.searchlibrary.resultset.ResultSet in the background
- Author:
- UoA
|
Constructor Summary |
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 |
|
Method Summary |
void |
run()
|
| 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 |
QueryGoogleWorker
public 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
- Parameters:
searchString - 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 - statistics1
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
- See Also:
Runnable.run()
Copyright © 2013. All Rights Reserved.