@Requires(beans={DiscoveryClient.class,DiscoveryClientHealthIndicatorConfiguration.class}) @Singleton public class DiscoveryClientHealthIndicator extends java.lang.Object implements HealthIndicator
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
DiscoveryClientHealthIndicator(DiscoveryClient discoveryClient) |
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<HealthResult> |
getResult() |
public DiscoveryClientHealthIndicator(DiscoveryClient discoveryClient)
discoveryClient
- The Discovery clientpublic org.reactivestreams.Publisher<HealthResult> getResult()
getResult
in interface HealthIndicator
HealthResult
that provides the
information necessary to build a response.