类 GracefulShutdownListener

  • 所有已实现的接口:
    com.alibaba.nacos.core.listener.NacosApplicationListener

    public class GracefulShutdownListener
    extends java.lang.Object
    implements com.alibaba.nacos.core.listener.NacosApplicationListener
    graceful shutdown listenner.
    作者:
    Weizhan▪Yun
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void failed​(org.springframework.context.ConfigurableApplicationContext context, java.lang.Throwable exception)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 从接口继承的方法 com.alibaba.nacos.core.listener.NacosApplicationListener

        contextLoaded, contextPrepared, environmentPrepared, running, started, starting
    • 构造器详细资料

      • GracefulShutdownListener

        public GracefulShutdownListener()
    • 方法详细资料

      • failed

        public void failed​(org.springframework.context.ConfigurableApplicationContext context,
                           java.lang.Throwable exception)
        指定者:
        failed 在接口中 com.alibaba.nacos.core.listener.NacosApplicationListener