public class NacosServiceDiscovery extends Object implements ServiceDiscovery
| 构造器和说明 |
|---|
NacosServiceDiscovery(com.alibaba.cloud.nacos.NacosDiscoveryProperties discoveryProperties) |
| 限定符和类型 | 方法和说明 |
|---|---|
cn.springcloud.gray.model.InstanceInfo |
getInstanceInfo(String serviceId,
String instanceId) |
ServiceInfo |
getServiceInfo(String serviceId) |
List<ServiceInfo> |
listAllSerivceInfos() |
List<cn.springcloud.gray.model.InstanceInfo> |
listInstanceInfos(String serviceId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstanceInfospublic NacosServiceDiscovery(com.alibaba.cloud.nacos.NacosDiscoveryProperties discoveryProperties)
public List<ServiceInfo> listAllSerivceInfos()
listAllSerivceInfos 在接口中 ServiceDiscoverypublic ServiceInfo getServiceInfo(String serviceId)
getServiceInfo 在接口中 ServiceDiscoverypublic List<cn.springcloud.gray.model.InstanceInfo> listInstanceInfos(String serviceId)
listInstanceInfos 在接口中 ServiceDiscoverypublic cn.springcloud.gray.model.InstanceInfo getInstanceInfo(String serviceId, String instanceId)
getInstanceInfo 在接口中 ServiceDiscoveryCopyright © 2020 Spring Cloud中国社区. All rights reserved.