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