Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
构造器和说明 |
---|
JobThread(int jobId,
IJobHandler handler) |
限定符和类型 | 方法和说明 |
---|---|
IJobHandler |
getHandler() |
boolean |
isRunningOrHasQueue()
is running job
|
ReturnT<String> |
pushTriggerQueue(TriggerParam triggerParam)
new trigger to queue
|
void |
run() |
void |
toStop(String stopReason)
kill job thread
|
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
public JobThread(int jobId, IJobHandler handler)
public IJobHandler getHandler()
public ReturnT<String> pushTriggerQueue(TriggerParam triggerParam)
triggerParam
- public void toStop(String stopReason)
stopReason
- public boolean isRunningOrHasQueue()
Copyright © 2017. All rights reserved.