Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
AbstractStatusThread() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRunning() |
protected abstract void |
doMainWork() |
protected abstract void |
initResource() |
boolean |
isRunningMode() |
protected abstract void |
releaseResource() |
void |
run() |
void |
setPausing() |
void |
setRunning() |
void |
setStopAndWait() |
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 boolean canRunning()
public boolean isRunningMode()
public void setRunning()
public void setPausing()
public void setStopAndWait()
protected abstract void doMainWork()
throws InterruptedException
InterruptedExceptionprotected abstract void releaseResource()
protected abstract void initResource()
Copyright © 2018. All rights reserved.