public class NacosDiscoveryClient extends Object implements org.springframework.cloud.client.discovery.DiscoveryClient
| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
| Constructor and Description |
|---|
NacosDiscoveryClient(NacosDiscoveryProperties discoveryProperties) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
List<org.springframework.cloud.client.ServiceInstance> |
getInstances(String serviceId) |
List<String> |
getServices() |
public static final String DESCRIPTION
public NacosDiscoveryClient(NacosDiscoveryProperties discoveryProperties)
public String description()
description in interface org.springframework.cloud.client.discovery.DiscoveryClientpublic List<org.springframework.cloud.client.ServiceInstance> getInstances(String serviceId)
getInstances in interface org.springframework.cloud.client.discovery.DiscoveryClientCopyright © 2019 Pivotal Software, Inc.. All rights reserved.