Class AvailabilityHealthContributorAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.availability.AvailabilityHealthContributorAutoConfiguration
@AutoConfiguration(after=ApplicationAvailabilityAutoConfiguration.class)
public class AvailabilityHealthContributorAutoConfiguration
extends Object
- Since:
- 2.3.2
- Author:
- Brian Clozel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlivenessStateHealthIndicator
(ApplicationAvailability applicationAvailability) readinessStateHealthIndicator
(ApplicationAvailability applicationAvailability)
-
Constructor Details
-
AvailabilityHealthContributorAutoConfiguration
public AvailabilityHealthContributorAutoConfiguration()
-
-
Method Details
-
livenessStateHealthIndicator
@Bean @ConditionalOnMissingBean(name="livenessStateHealthIndicator") @ConditionalOnProperty(prefix="management.health.livenessstate", name="enabled", havingValue="true") public LivenessStateHealthIndicator livenessStateHealthIndicator(ApplicationAvailability applicationAvailability) -
readinessStateHealthIndicator
@Bean @ConditionalOnMissingBean(name="readinessStateHealthIndicator") @ConditionalOnProperty(prefix="management.health.readinessstate", name="enabled", havingValue="true") public ReadinessStateHealthIndicator readinessStateHealthIndicator(ApplicationAvailability applicationAvailability)
-