public final class PriorityHandlerThread extends HandlerThread
HandlerThread with a specified process priority.Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
PriorityHandlerThread(String name,
int priority) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
getLooper, getThreadId, onLooperPrepared, quit, quitSafelyactiveCount, 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 PriorityHandlerThread(String name, int priority)
name - The name of the thread.priority - The priority level. See Process.setThreadPriority(int) for details.public void run()
run in interface Runnablerun in class HandlerThread