public class ThreadPool.ServiceThread
extends java.lang.Thread
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | notified | 
| protected java.lang.Runnable | taskThe actual task. | 
| protected boolean | terminated | 
| Constructor and Description | 
|---|
| ServiceThread()Create a new thread. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Runnable | getTask()Get the runnable (the task). | 
| protected void | markParked()(method "park" already exists in android - do not overwrite) | 
| protected void | markUnpark()(method "unpark" already exists in android - do not overwrite) | 
| protected void | remove()Remove the service thread from the pool. | 
| void | run()Dequeue an element from the queue
  and execute it. | 
| java.lang.String | toString()Get the string representation. | 
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, yieldprotected java.lang.Runnable task
protected boolean terminated
protected boolean notified
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadprotected void markParked()
protected void markUnpark()
protected void remove()
public java.lang.Runnable getTask()
public java.lang.String toString()
toString in class java.lang.Thread