instead
.@Deprecated public class NoopDiscoveryClient extends Object implements DiscoveryClient
DEFAULT_ORDER
Constructor and Description |
---|
NoopDiscoveryClient(ServiceInstance instance)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
description()
Deprecated.
A human-readable description of the implementation, used in HealthIndicator.
|
List<ServiceInstance> |
getInstances(String serviceId)
Deprecated.
Gets all ServiceInstances associated with a particular serviceId.
|
List<String> |
getServices()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOrder
public NoopDiscoveryClient(ServiceInstance instance)
public String description()
DiscoveryClient
description
in interface DiscoveryClient
public List<ServiceInstance> getInstances(String serviceId)
DiscoveryClient
getInstances
in interface DiscoveryClient
serviceId
- The serviceId to query.public List<String> getServices()
getServices
in interface DiscoveryClient
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.