Package org.jppf.utils.concurrent
Class DebuggableThread
java.lang.Object
java.lang.Thread
org.jppf.utils.concurrent.DebuggableThread
- All Implemented Interfaces:
Runnable
A thread that prints out the call stack when
interrupt() is called.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionDebuggableThread(Runnable target) Construct this thread.DebuggableThread(Runnable target, String name) Construct this thread.DebuggableThread(String name) Construct this thread.DebuggableThread(ThreadGroup group, Runnable target, String name) Construct this thread. -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
DebuggableThread
Construct this thread.- Parameters:
name- the name of this thread.
-
DebuggableThread
Construct this thread.- Parameters:
target- the associateRunnable.
-
DebuggableThread
Construct this thread.- Parameters:
target- the associateRunnable.name- the name of this thread.
-
DebuggableThread
Construct this thread.- Parameters:
group- the thread group owning this thread.target- the associateRunnable.name- the name of this thread.
-
-
Method Details