public class ShutdownHook
extends Thread
Constructor and Description |
---|
ShutdownHook()
Instantiates a new shutdown hook.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isshutdown() |
void |
run() |
void |
setshutdown(boolean shutdown) |
activeCount, checkAccess, 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