类 AbstractServerListManager

java.lang.Object
com.alibaba.nacos.client.address.AbstractServerListManager
所有已实现的接口:
com.alibaba.nacos.common.lifecycle.Closeable, com.alibaba.nacos.common.remote.client.ServerListFactory

public abstract class AbstractServerListManager extends Object implements com.alibaba.nacos.common.remote.client.ServerListFactory, com.alibaba.nacos.common.lifecycle.Closeable
Server list Manager.
作者:
totalo
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • getServerList

      public List<String> getServerList()
      指定者:
      getServerList 在接口中 com.alibaba.nacos.common.remote.client.ServerListFactory
    • shutdown

      public void shutdown() throws com.alibaba.nacos.api.exception.NacosException
      指定者:
      shutdown 在接口中 com.alibaba.nacos.common.lifecycle.Closeable
      抛出:
      com.alibaba.nacos.api.exception.NacosException
    • start

      public void start() throws com.alibaba.nacos.api.exception.NacosException
      Start server list manager.
      抛出:
      com.alibaba.nacos.api.exception.NacosException - during start and initialize.
    • getServerName

      public String getServerName()
    • getContextPath

      public String getContextPath()
    • getNamespace

      public String getNamespace()
    • getAddressSource

      public String getAddressSource()
    • isFixed

      public boolean isFixed()
    • getModuleName

      protected abstract String getModuleName()
      get module name.
      返回:
      module name
    • getNacosRestTemplate

      protected abstract com.alibaba.nacos.common.http.client.NacosRestTemplate getNacosRestTemplate()
      get nacos rest template.
      返回:
      nacos rest template