protected class VTNThreadPool.WorkerThread extends Thread
WorkerThread class implements worker threads in thread pool.Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
WorkerThread(String name)
Construct a new worker thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Main routine of worker thread.
|
protected Runnable |
waitFor()
Wait for a new task.
|
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, yieldprotected WorkerThread(String name)
name - The name of this thread.Copyright © 2018 OpenDaylight. All rights reserved.