public class PropertiesListProvider extends AbstractServerListProvider
contextPath, namespace| 构造器和说明 |
|---|
PropertiesListProvider() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getOrder()
Get order.
|
List<String> |
getServerList()
Get server list.
|
String |
getServerName()
Get server name.
|
void |
init(NacosClientProperties properties,
NacosRestTemplate nacosRestTemplate)
Init.
|
boolean |
isFixed()
check the server list is fixed or not.
|
boolean |
match(NacosClientProperties properties)
Match.
|
void |
shutdown() |
getContextPath, getNamespaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAddressSourcepublic void init(NacosClientProperties properties, NacosRestTemplate nacosRestTemplate) throws NacosException
ServerListProviderinit 在接口中 ServerListProviderinit 在类中 AbstractServerListProviderproperties - nacos client propertiesnacosRestTemplate - nacos rest templateNacosException - nacos exceptionpublic List<String> getServerList()
AbstractServerListProvidergetServerList 在接口中 ServerListProvidergetServerList 在类中 AbstractServerListProviderpublic String getServerName()
AbstractServerListProvidergetServerName 在接口中 ServerListProvidergetServerName 在类中 AbstractServerListProviderpublic int getOrder()
AbstractServerListProvidergetOrder 在接口中 ServerListProvidergetOrder 在类中 AbstractServerListProviderpublic boolean match(NacosClientProperties properties)
ServerListProviderproperties - nacos client propertiespublic boolean isFixed()
ServerListProviderpublic void shutdown()
throws NacosException
NacosExceptionCopyright © 2018–2025 Alibaba Group. All rights reserved.