public class DataSourceWorker
extends java.lang.Thread
DatabaseDataSource| Modifier and Type | Class and Description |
|---|---|
static class |
DataSourceWorker.Entry
Stores the parameters of a data query and processing job.
|
static interface |
DataSourceWorker.Listener
Listener interface for receiving notifications about the status of
a submitted data query and processing job.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
static void |
submit(DataSourceWorker.Entry e)
Submit a job to the worker thread.
|
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 static void submit(DataSourceWorker.Entry e)
e - an DataSourceWorker.Entry instance that contains
the parameters of the job.public void run()
run in interface java.lang.Runnablerun in class java.lang.ThreadRunnable.run()