Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
QueryJdbcWorker(ResultSet rs,
String[] columnNames,
String UniqueDocId,
gr.uoa.di.madgik.grs.writer.IRecordWriter<gr.uoa.di.madgik.grs.record.Record> writer,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
Creates a new
QueryJdbcWorker |
| Modifier and Type | Method and Description |
|---|---|
URI |
getLocator()
retrieves the writer this thread is populating
|
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 QueryJdbcWorker(ResultSet rs, String[] columnNames, String UniqueDocId, gr.uoa.di.madgik.grs.writer.IRecordWriter<gr.uoa.di.madgik.grs.record.Record> writer, long timeout, TimeUnit timeUnit, StatsContainer stats)
QueryJdbcWorkerrs - the db ResultSetcolumnNames - The names of the colums in the db tableUniqueDocId - A string that will make the ids of the produced records uniquewriter - The writer to usetimeout - The timeout to be used both by the writertimeUnit - The unit of the timeout to be usedstats - statsCopyright © 2017. All Rights Reserved.