@Indexed(value=DiscoveryClient.class) public interface DiscoveryClient extends java.io.Closeable, java.lang.AutoCloseable, Described
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<java.util.List<ServiceInstance>> |
getInstances(java.lang.String serviceId)
Obtain a list of
ServiceInstance for the given service id. |
org.reactivestreams.Publisher<java.util.List<java.lang.String>> |
getServiceIds() |
getDescription
@SingleResult org.reactivestreams.Publisher<java.util.List<ServiceInstance>> getInstances(java.lang.String serviceId)
ServiceInstance
for the given service id.serviceId
- The service idPublisher
that emits a list of ServiceInstance
@SingleResult org.reactivestreams.Publisher<java.util.List<java.lang.String>> getServiceIds()