Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| 限定符和类型 | 方法和说明 |
|---|---|
static HmilyShutdownHook |
getInstance()
Gets instance.
|
void |
registerAutoCloseable(AutoCloseable autoCloseable)
Register auto closeable.
|
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, yieldpublic static HmilyShutdownHook getInstance()
public void registerAutoCloseable(AutoCloseable autoCloseable)
autoCloseable - the auto closeableCopyright © 2020 dromara. All rights reserved.