类 DubboShutdownHook

  • 所有已实现的接口:
    Runnable

    public class DubboShutdownHook
    extends Thread
    The shutdown hook thread to do the clean up stuff. This is a singleton in order to ensure there is only one shutdown hook registered. Because ApplicationShutdownHooks use IdentityHashMap to store the shutdown hooks.
    • 方法详细资料

      • 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()