Class DiscoveryClientHealthIndicator
java.lang.Object
io.micronaut.management.health.indicator.discovery.DiscoveryClientHealthIndicator
- All Implemented Interfaces:
Ordered
,HealthIndicator
@Requires(beans={DiscoveryClient.class,DiscoveryClientHealthIndicatorConfiguration.class})
@Singleton
public class DiscoveryClientHealthIndicator
extends Object
implements HealthIndicator
A health indicator for the discovery client.
- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Details
-
DiscoveryClientHealthIndicator
- Parameters:
discoveryClient
- The Discovery client
-
-
Method Details
-
getResult
- Specified by:
getResult
in interfaceHealthIndicator
- Returns:
- A publisher that returns a
HealthResult
that provides the information necessary to build a response.
-