Interface HealthIndicator
- All Superinterfaces:
io.micronaut.core.order.Ordered
- All Known Implementing Classes:
AbstractHealthIndicator,DiscoveryClientHealthIndicator,DiskSpaceIndicator,JdbcIndicator,ServiceHttpClientHealthIndicator,ServiceReadyHealthIndicator
public interface HealthIndicator
extends io.micronaut.core.order.Ordered
Describes an indicator of health of the application. Used by the
HealthAggregator to create a response combining all indicators.
- Since:
- 1.0
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Methods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Method Details
-
getResult
org.reactivestreams.Publisher<HealthResult> getResult()- Returns:
- A publisher that returns a
HealthResultthat provides the information necessary to build a response.
-