Thread.State, Thread.UncaughtExceptionHandler| 限定符和类型 | 字段和说明 |
|---|---|
int |
errIndex
错误计数
|
int |
stopIndex
安全停止线程标记
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| 构造器和说明 |
|---|
KeepAliveHandler(TaskDao taskDao) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
add(String taskId)
添加待处理任务
|
void |
interrupt() |
void |
run() |
boolean |
stop(Process process)
停止
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic KeepAliveHandler(TaskDao taskDao)
Copyright © 2021. All rights reserved.