Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| 构造器和说明 |
|---|
TaskPriorityQueueConsumer() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
dispatchTask(TaskPriority taskPriority)
dispatch task
|
void |
init() |
void |
run() |
Boolean |
taskInstanceIsFinalState(int taskInstanceId)
taskInstance is final state
success,failure,kill,stop,pause,threadwaiting is final state
|
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, yield@PostConstruct public void init()
protected boolean dispatchTask(TaskPriority taskPriority)
taskPriority - taskPrioritypublic Boolean taskInstanceIsFinalState(int taskInstanceId)
taskInstanceId - taskInstanceIdCopyright © 2022 The Apache Software Foundation. All rights reserved.