
public abstract class BerichtPipelineThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
(package private) BerichtenHandler |
handler |
(package private) Log |
log |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
BerichtPipelineThread(BerichtenHandler handler,
int capacity,
String stopwatchPrefix) |
| Modifier and Type | Method and Description |
|---|---|
BlockingQueue<BerichtWorkUnit> |
getQueue() |
void |
run() |
void |
setAbortFlag() |
void |
stopWhenQueueEmpty() |
(package private) abstract void |
work(BerichtWorkUnit workUnit) |
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, yieldfinal Log log
final BerichtenHandler handler
public BerichtPipelineThread(BerichtenHandler handler, int capacity, String stopwatchPrefix)
public void stopWhenQueueEmpty()
public void setAbortFlag()
public BlockingQueue<BerichtWorkUnit> getQueue() throws Exception
Exceptionabstract void work(BerichtWorkUnit workUnit) throws Exception
ExceptionCopyright © 2014–2016 B3Partners B.V.. All rights reserved.