类 AbstractServerListProvider
java.lang.Object
com.alibaba.nacos.client.address.AbstractServerListProvider
- 所有已实现的接口:
ServerListProvider,Closeable
Address server list provider.
- 作者:
- totalo
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Get context path.Get namespace.abstract intgetOrder()Get order.Get server list.abstract StringGet server name.voidinit(NacosClientProperties properties, NacosRestTemplate nacosRestTemplate) Init.private voidinitContextPath(NacosClientProperties properties) private voidinitNameSpace(NacosClientProperties properties) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.alibaba.nacos.client.address.ServerListProvider
getAddressSource, isFixed, match
-
字段详细资料
-
contextPath
-
namespace
-
-
构造器详细资料
-
AbstractServerListProvider
public AbstractServerListProvider()
-
-
方法详细资料
-
init
public void init(NacosClientProperties properties, NacosRestTemplate nacosRestTemplate) throws NacosException 从接口复制的说明:ServerListProviderInit.- 指定者:
init在接口中ServerListProvider- 参数:
properties- nacos client propertiesnacosRestTemplate- nacos rest template- 抛出:
NacosException- nacos exception
-
getServerList
Get server list.- 指定者:
getServerList在接口中ServerListProvider- 返回:
- server list
-
getServerName
Get server name.- 指定者:
getServerName在接口中ServerListProvider- 返回:
- server name
-
getOrder
public abstract int getOrder()Get order.- 指定者:
getOrder在接口中ServerListProvider- 返回:
- order
-
getContextPath
从接口复制的说明:ServerListProviderGet context path.- 指定者:
getContextPath在接口中ServerListProvider- 返回:
- context path
-
getNamespace
从接口复制的说明:ServerListProviderGet namespace.- 指定者:
getNamespace在接口中ServerListProvider- 返回:
- namespace
-
initContextPath
-
initNameSpace
-