public class ShutdownHook extends ShutdownHookBase
TODO: look at void TerminationSignalHandler(int) from the C++ implementation,
and figure out what else to do at shutdown.
logger, m_regularShutdownExpected, processName| Modifier and Type | Method and Description |
|---|---|
protected void |
interruptDetected()
Tidying up when the JVM is about to terminate due to an interrupt signal
|
protected void |
regularTermination()
Subclasses can override this method to log nothing or something else.
|
void |
setAcsContainer(AcsContainer acsContainer)
Sets m_acsContainer.
|
run, setRegularShutdownExpectedactiveCount, 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, yieldprotected void regularTermination()
ShutdownHookBaseregularTermination in class ShutdownHookBaseprotected void interruptDetected()
interruptDetected in class ShutdownHookBasepublic void setAcsContainer(AcsContainer acsContainer)