public interface DiscoveryClient
extends org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ORDER
Default order of the discovery client.
|
Modifier and Type | Method and Description |
---|---|
String |
description()
A human-readable description of the implementation, used in HealthIndicator.
|
List<ServiceInstance> |
getInstances(String serviceId)
Gets all ServiceInstances associated with a particular serviceId.
|
default int |
getOrder()
Default implementation for getting order of discovery clients.
|
List<String> |
getServices() |
static final int DEFAULT_ORDER
String description()
List<ServiceInstance> getInstances(String serviceId)
serviceId
- The serviceId to query.default int getOrder()
getOrder
in interface org.springframework.core.Ordered
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.