public static class ManagedThreadFactoryImpl.ManagedThread extends java.lang.Thread implements ManageableThread
Constructor and Description |
---|
ManagedThread(java.lang.Runnable r) |
Modifier and Type | Method and Description |
---|---|
boolean |
isShutdown()
This method is used by the application component provider to check
whether a thread created by the
newThread method of
ManagedThreadFactory has been marked for shut down. |
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public boolean isShutdown()
ManageableThread
newThread
method of
ManagedThreadFactory
has been marked for shut down.
If the value is true, the application component provider should finish
any work on this thread as soon as possible.isShutdown
in interface ManageableThread