Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected static Logger |
logger
create a static logger.
|
Boolean |
stop |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier and Type | Method and Description |
---|---|
int |
getCountThread() |
String |
getCurrentThreadInfo() |
String |
getCurrentThreadName() |
static ThreadManager |
getInstance(javax.servlet.ServletContext application) |
NotificationService |
getNotificationService() |
boolean |
isThreadRunning(String id) |
int |
purgeAllThread() |
void |
run() |
void |
setNotificationService(NotificationService notificationService) |
void |
setThreadDir(File threadDir) |
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 static ThreadManager getInstance(javax.servlet.ServletContext application)
public void setThreadDir(File threadDir)
public int getCountThread()
public int purgeAllThread()
public String getCurrentThreadName()
public String getCurrentThreadInfo()
public NotificationService getNotificationService()
public void setNotificationService(NotificationService notificationService)
public boolean isThreadRunning(String id)
Copyright © 2012-2018. All Rights Reserved.