public class ThreadPool.ServiceThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ThreadPool.ServiceThread()
Create a new thread.
|
Modifier and Type | Method and Description |
---|---|
Runnable |
getTask()
Get the runnable (the task).
|
void |
run()
Dequeue an element from the queue
and execute it.
|
String |
toString()
Get the string representation.
|
activeCount, checkAccess, 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, yield
public void run()
public Runnable getTask()
Copyright © 2012. All Rights Reserved.