public abstract class AbstractServerListProvider extends Object implements ServerListProvider
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
contextPath |
protected String |
namespace |
| 构造器和说明 |
|---|
AbstractServerListProvider() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getContextPath()
Get context path.
|
String |
getNamespace()
Get namespace.
|
abstract int |
getOrder()
Get order.
|
abstract List<String> |
getServerList()
Get server list.
|
abstract String |
getServerName()
Get server name.
|
void |
init(NacosClientProperties properties,
NacosRestTemplate nacosRestTemplate)
Init.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAddressSource, isFixed, matchpublic void init(NacosClientProperties properties, NacosRestTemplate nacosRestTemplate) throws NacosException
ServerListProviderinit 在接口中 ServerListProviderproperties - nacos client propertiesnacosRestTemplate - nacos rest templateNacosException - nacos exceptionpublic abstract List<String> getServerList()
getServerList 在接口中 ServerListProviderpublic abstract String getServerName()
getServerName 在接口中 ServerListProviderpublic abstract int getOrder()
getOrder 在接口中 ServerListProviderpublic String getContextPath()
ServerListProvidergetContextPath 在接口中 ServerListProviderpublic String getNamespace()
ServerListProvidergetNamespace 在接口中 ServerListProviderCopyright © 2018–2025 Alibaba Group. All rights reserved.