public class EventQueueOccupationChecker extends MustThread
threadDoneListeners
Constructor and Description |
---|
EventQueueOccupationChecker(int seconds) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
static void |
startCheck(int seconds)
Creates a unique instance of the checker and starts the thread to detect deadlocks.
|
static void |
stopCheck() |
addThreadDoneListener, fireThreadDone, fireThreadDone, getEventMessage, getFinalState, idle, isToRun, logDebug, logError, logError, logInfo, setEventErrorMessage, setEventMessage, setFinalState
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 void startCheck(int seconds)
seconds
- the maximum of time the event queue may be occupied without throwing stack traces of all threads.public static void stopCheck()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de