类 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
-
字段概要
字段 -
构造器概要
构造器构造器说明AbstractServerListManager(NacosClientProperties properties) AbstractServerListManager(NacosClientProperties properties, String namespace) -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.alibaba.nacos.common.remote.client.ServerListFactory
genNextServer, getCurrentServer
-
字段详细资料
-
serverListProvider
-
properties
-
-
构造器详细资料
-
AbstractServerListManager
-
AbstractServerListManager
-
-
方法详细资料
-
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.NacosExceptionStart server list manager.- 抛出:
com.alibaba.nacos.api.exception.NacosException- during start and initialize.
-
getServerName
-
getContextPath
-
getNamespace
-
getAddressSource
-
isFixed
public boolean isFixed() -
getModuleName
get module name.- 返回:
- module name
-
getNacosRestTemplate
protected abstract com.alibaba.nacos.common.http.client.NacosRestTemplate getNacosRestTemplate()get nacos rest template.- 返回:
- nacos rest template
-