protected abstract class SLSLogFacility.WorkerThread
extends java.lang.Thread
run method if an EXIT request is found on the queue.
Subclass of SLSLogFacility should derive its worker thread
class from this class and implement the log method.
| Constructor and Description |
|---|
WorkerThread() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
log(SLSLogFacility.WorkerRequest r)
Fulfills the logging request.
|
void |
run()
Runs in a indefinite loop checking for queued request.
|
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 void run()
run in interface java.lang.Runnablerun in class java.lang.Threadprotected abstract void log(SLSLogFacility.WorkerRequest r)
r - the LOG request from the queue.Copyright © SAS Institute. All Rights Reserved.