public class ServiceResourceImpl extends Object implements ServiceResource
| 构造器和说明 |
|---|
ServiceResourceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
com.nepxion.discovery.common.entity.DiscoveryType |
getDiscoveryType() |
List<String> |
getGatewayList(List<com.nepxion.discovery.common.entity.GatewayType> types) |
List<String> |
getGateways() |
String |
getGroup(String serviceId) |
List<String> |
getGroups() |
List<com.nepxion.discovery.common.entity.InstanceEntity> |
getInstanceList(String service) |
Map<String,List<com.nepxion.discovery.common.entity.InstanceEntity>> |
getInstanceMap(List<String> groups) |
List<org.springframework.cloud.client.ServiceInstance> |
getInstances(String serviceId) |
List<String> |
getServiceList(List<com.nepxion.discovery.common.entity.ServiceType> types) |
List<String> |
getServices() |
public com.nepxion.discovery.common.entity.DiscoveryType getDiscoveryType()
getDiscoveryType 在接口中 ServiceResourcepublic List<String> getGroups()
getGroups 在接口中 ServiceResourcepublic String getGroup(String serviceId)
getGroup 在接口中 ServiceResourcepublic List<String> getServices()
getServices 在接口中 ServiceResourcepublic List<String> getServiceList(List<com.nepxion.discovery.common.entity.ServiceType> types)
getServiceList 在接口中 ServiceResourcepublic List<String> getGateways()
getGateways 在接口中 ServiceResourcepublic List<String> getGatewayList(List<com.nepxion.discovery.common.entity.GatewayType> types)
getGatewayList 在接口中 ServiceResourcepublic List<org.springframework.cloud.client.ServiceInstance> getInstances(String serviceId)
getInstances 在接口中 ServiceResourcepublic List<com.nepxion.discovery.common.entity.InstanceEntity> getInstanceList(String service)
getInstanceList 在接口中 ServiceResourcepublic Map<String,List<com.nepxion.discovery.common.entity.InstanceEntity>> getInstanceMap(List<String> groups)
getInstanceMap 在接口中 ServiceResourceCopyright © 2022 Nepxion. All rights reserved.