类 NacosWatch

java.lang.Object
com.alibaba.cloud.nacos.discovery.NacosWatch
所有已实现的接口:
org.springframework.beans.factory.DisposableBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class NacosWatch extends Object implements org.springframework.context.SmartLifecycle, org.springframework.beans.factory.DisposableBean
作者:
xiaojing, yuhuangbin, pengfei.lu, ruansheng
  • 构造器详细资料

  • 方法详细资料

    • isAutoStartup

      public boolean isAutoStartup()
      指定者:
      isAutoStartup 在接口中 org.springframework.context.SmartLifecycle
    • stop

      public void stop(Runnable callback)
      指定者:
      stop 在接口中 org.springframework.context.SmartLifecycle
    • start

      public void start()
      指定者:
      start 在接口中 org.springframework.context.Lifecycle
    • stop

      public void stop()
      指定者:
      stop 在接口中 org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      指定者:
      isRunning 在接口中 org.springframework.context.Lifecycle
    • getPhase

      public int getPhase()
      指定者:
      getPhase 在接口中 org.springframework.context.Phased
      指定者:
      getPhase 在接口中 org.springframework.context.SmartLifecycle
    • destroy

      public void destroy()
      指定者:
      destroy 在接口中 org.springframework.beans.factory.DisposableBean