Class ShutdownHookProcessDestroyer.ProcessDestroyerThread
java.lang.Object
java.lang.Thread
org.apache.commons.exec.ShutdownHookProcessDestroyer.ProcessDestroyerThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
ShutdownHookProcessDestroyer
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtomicBooleanWhether to run the ShutdownHookProcessDestroyer.Fields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Thread
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
-
Field Details
-
shouldDestroy
Whether to run the ShutdownHookProcessDestroyer.
-
-
Constructor Details
-
ProcessDestroyerThread
private ProcessDestroyerThread()
-
-
Method Details
-
run
-
setShouldDestroy
public void setShouldDestroy(boolean shouldDestroy)
-