public class SimpleDnsBasedDiscoveryClient extends Object implements org.springframework.cloud.client.discovery.DiscoveryClient
| Modifier and Type | Class and Description |
|---|---|
static interface |
SimpleDnsBasedDiscoveryClient.ServiceIdToHostnameConverter |
| Constructor and Description |
|---|
SimpleDnsBasedDiscoveryClient(CloudFoundryDiscoveryProperties properties) |
SimpleDnsBasedDiscoveryClient(CloudFoundryDiscoveryProperties properties,
SimpleDnsBasedDiscoveryClient.ServiceIdToHostnameConverter serviceIdToHostnameConverter) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
List<org.springframework.cloud.client.ServiceInstance> |
getInstances(String serviceId) |
List<String> |
getServices() |
public SimpleDnsBasedDiscoveryClient(CloudFoundryDiscoveryProperties properties, SimpleDnsBasedDiscoveryClient.ServiceIdToHostnameConverter serviceIdToHostnameConverter)
public SimpleDnsBasedDiscoveryClient(CloudFoundryDiscoveryProperties properties)
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 © 2021 Pivotal Software, Inc.. All rights reserved.