| Modifier and Type | Method | Description |
|---|---|---|
List<ServiceInstance> |
Consultant.list(String serviceName) |
Deprecated.
|
List<ServiceInstance> |
ServiceInstanceBackend.listInstances(String serviceName) |
Retrieves a list of service instances from Consul ordered by network distance (nearest to farthest) in the
local datacenter.
|
List<ServiceInstance> |
ServiceInstanceBackend.listInstances(String serviceName,
String datacenter) |
Retrieves a list of service instances from Consul ordered by network distance (nearest to farthest) in the
specified datacenter.
|
Optional<ServiceInstance> |
ServiceLocator.next() |
Copyright © 2024. All rights reserved.