Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| 构造器和说明 |
|---|
TaskThread(ThreadGroup group)
构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
executeTask(Runnable task)
制定要执行的任务
|
ThreadPool |
getThreadPool() |
boolean |
isStop() |
void |
run() |
void |
setStop(boolean stop) |
void |
setThreadPool(ThreadPool threadPool) |
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 TaskThread(ThreadGroup group)
threadPool - pool - group - name - public ThreadPool getThreadPool()
public void setThreadPool(ThreadPool threadPool)
public void executeTask(Runnable task)
task - public boolean isStop()
public void setStop(boolean stop)
Copyright © 2006-2013 开源组织. All Rights Reserved.