Interface HealthIndicator
-
- All Superinterfaces:
io.micronaut.core.order.Ordered
- All Known Implementing Classes:
AbstractHealthIndicator,DiscoveryClientHealthIndicator,DiskSpaceIndicator,JdbcIndicator,ServiceReadyHealthIndicator
public interface HealthIndicator extends io.micronaut.core.order.OrderedDescribes an indicator of health of the application. Used by the
HealthAggregatorto create a response combining all indicators.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<HealthResult>getResult()
-
-
-
Method Detail
-
getResult
org.reactivestreams.Publisher<HealthResult> getResult()
- Returns:
- A publisher that returns a
HealthResultthat provides the information necessary to build a response.
-
-