接口 NamingMaintainService
已过时。
Operations related to Nacos.
- 从以下版本开始:
- 1.0.1
- 作者:
- liaochuntao
-
方法概要
修饰符和类型方法说明voidcreateService(Service service, AbstractSelector selector) 已过时。create service to Nacos.voidcreateService(String serviceName) 已过时。create service to Nacos.voidcreateService(String serviceName, String groupName) 已过时。create service to Nacos.voidcreateService(String serviceName, String groupName, float protectThreshold) 已过时。create service to Nacos.voidcreateService(String serviceName, String groupName, float protectThreshold, String expression) 已过时。create service to Nacos.booleandeleteService(String serviceName) 已过时。delete service from Nacos.booleandeleteService(String serviceName, String groupName) 已过时。delete service from Nacos.queryService(String serviceName) 已过时。query service.queryService(String serviceName, String groupName) 已过时。query service.voidshutDown()已过时。Shutdown the resource service.voidupdateInstance(String serviceName, Instance instance) 已过时。update instance info.voidupdateInstance(String serviceName, String groupName, Instance instance) 已过时。update instance info.voidupdateService(Service service, AbstractSelector selector) 已过时。update service to Nacos with selector.voidupdateService(String serviceName, String groupName, float protectThreshold) 已过时。update service to Nacos.voidupdateService(String serviceName, String groupName, float protectThreshold, Map<String, String> metadata) 已过时。update service to Nacos.
-
方法详细资料
-
updateInstance
已过时。update instance info.- 参数:
serviceName- service nameinstance- instance- 抛出:
NacosException- nacos exception
-
updateInstance
已过时。update instance info.- 参数:
serviceName- service namegroupName- group nameinstance- instance- 抛出:
NacosException- nacos exception
-
queryService
已过时。query service.- 参数:
serviceName- service name- 返回:
- service
- 抛出:
NacosException- nacos exception
-
queryService
已过时。query service.- 参数:
serviceName- service namegroupName- group name- 返回:
- service
- 抛出:
NacosException- nacos exception
-
createService
已过时。create service to Nacos.- 参数:
serviceName- name of service- 抛出:
NacosException- nacos exception
-
createService
已过时。create service to Nacos.- 参数:
serviceName- name of servicegroupName- group of service- 抛出:
NacosException- nacos exception
-
createService
void createService(String serviceName, String groupName, float protectThreshold) throws NacosException 已过时。create service to Nacos.- 参数:
serviceName- name of servicegroupName- group of serviceprotectThreshold- protectThreshold of service- 抛出:
NacosException- nacos exception
-
createService
void createService(String serviceName, String groupName, float protectThreshold, String expression) throws NacosException 已过时。create service to Nacos.- 参数:
serviceName- name of servicegroupName- group of serviceprotectThreshold- protectThreshold of serviceexpression- expression of selector- 抛出:
NacosException- nacos exception
-
createService
已过时。create service to Nacos.- 参数:
service- name of serviceselector- selector- 抛出:
NacosException- nacos exception
-
deleteService
已过时。delete service from Nacos.- 参数:
serviceName- name of service- 返回:
- if delete service success return true
- 抛出:
NacosException- nacos exception
-
deleteService
已过时。delete service from Nacos.- 参数:
serviceName- name of servicegroupName- group of service- 返回:
- if delete service success return true
- 抛出:
NacosException- nacos exception
-
updateService
void updateService(String serviceName, String groupName, float protectThreshold) throws NacosException 已过时。update service to Nacos.- 参数:
serviceName- name of servicegroupName- group of serviceprotectThreshold- protectThreshold of service- 抛出:
NacosException- nacos exception
-
updateService
void updateService(String serviceName, String groupName, float protectThreshold, Map<String, String> metadata) throws NacosException已过时。update service to Nacos.- 参数:
serviceName- name of servicegroupName- group of serviceprotectThreshold- protectThreshold of servicemetadata- metadata of service- 抛出:
NacosException- nacos exception
-
updateService
已过时。update service to Nacos with selector.- 参数:
service-Servicepojo of serviceselector-AbstractSelectorpojo of selector- 抛出:
NacosException- nacos exception
-
shutDown
已过时。Shutdown the resource service.- 抛出:
NacosException- exception.
-
com.alibaba.nacos.maintainer.client.naming.NamingMaintainerServicein nacos-maintainer-client artifact tp replaced.