Package de.julielab.jcore.reader.db
Class DBReader.RetrievingThread
- java.lang.Object
-
- java.lang.Thread
-
- de.julielab.jcore.reader.db.DBReader.RetrievingThread
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- DBReader
protected class DBReader.RetrievingThread extends Thread
This class is charged with retrieving batches of document IDs and documents while previously fetched documents are in process.
The class manages the
FetchIdsProactivelyparameter which can be given to the reader. When set tofalse, no ID batches are fetched in advance but are fetched exactly on demand inDBReader.getNextArtifactData().This class is only in use when reading from a subset table.
- Author:
- hellrich/faessler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description RetrievingThread()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.julielab.costosys.dbconnection.DBCIterator<byte[][]>getDocuments()voidrun()-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-