public class SemiOrderedShutdownHook
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
static SemiOrderedShutdownHook |
singleton |
Modifier and Type | Method and Description |
---|---|
void |
addEarlyJob(java.lang.Thread r) |
void |
addLateJob(java.lang.Thread r) |
static SemiOrderedShutdownHook |
get() |
void |
run() |
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
public static final SemiOrderedShutdownHook singleton
public static SemiOrderedShutdownHook get()
public void addEarlyJob(java.lang.Thread r)
public void addLateJob(java.lang.Thread r)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread