类 DubboShutdownHook
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.dubbo.config.DubboShutdownHook
-
-
嵌套类概要
-
从类继承的嵌套类/接口 java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
字段概要
-
从类继承的字段 java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static voiddestroyAll()static voiddestroyProtocols()Destroy all the protocols.voiddoDestroy()Destroy all the resources, including registries and protocols.static DubboShutdownHookgetDubboShutdownHook()booleangetRegistered()voidregister()Register the ShutdownHookstatic voidreset()voidrun()voidunregister()Unregister the ShutdownHook-
从类继承的方法 java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
方法详细资料
-
getDubboShutdownHook
public static DubboShutdownHook getDubboShutdownHook()
-
register
public void register()
Register the ShutdownHook
-
unregister
public void unregister()
Unregister the ShutdownHook
-
doDestroy
public void doDestroy()
Destroy all the resources, including registries and protocols.
-
getRegistered
public boolean getRegistered()
-
destroyAll
public static void destroyAll()
-
destroyProtocols
public static void destroyProtocols()
Destroy all the protocols.
-
reset
public static void reset()
-
-