@Singleton @Requires(beans=EmbeddedServer.class) @Requires(property="micronaut.application.name") @Requires(property="micronaut.health.monitor.enabled",value="true",defaultValue="true") public class HealthMonitorTask extends Object
CurrentHealthStatus in a background thread.| Constructor and Description | 
|---|
| HealthMonitorTask(CurrentHealthStatus currentHealthStatus,
                 HealthIndicator... healthIndicators) | 
| HealthMonitorTask(CurrentHealthStatus currentHealthStatus,
                 List<HealthIndicator> healthIndicators) | 
@Inject public HealthMonitorTask(CurrentHealthStatus currentHealthStatus, List<HealthIndicator> healthIndicators)
currentHealthStatus - The current health statushealthIndicators - Health indicatorspublic HealthMonitorTask(CurrentHealthStatus currentHealthStatus, HealthIndicator... healthIndicators)
currentHealthStatus - The current health statushealthIndicators - Health indicators