@AutoConfiguration(after={AvailabilityHealthContributorAutoConfiguration.class,ApplicationAvailabilityAutoConfiguration.class}) @Conditional(value=org.springframework.boot.actuate.autoconfigure.availability.AvailabilityProbesAutoConfiguration.ProbesCondition.class) public class AvailabilityProbesAutoConfiguration extends Object
Auto-configuration
for availability probes.Constructor and Description |
---|
AvailabilityProbesAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.actuate.autoconfigure.availability.AvailabilityProbesHealthEndpointGroupsPostProcessor |
availabilityProbesHealthEndpointGroupsPostProcessor(Environment environment) |
LivenessStateHealthIndicator |
livenessStateHealthIndicator(ApplicationAvailability applicationAvailability) |
ReadinessStateHealthIndicator |
readinessStateHealthIndicator(ApplicationAvailability applicationAvailability) |
@Bean @ConditionalOnMissingBean(name="livenessStateHealthIndicator") public LivenessStateHealthIndicator livenessStateHealthIndicator(ApplicationAvailability applicationAvailability)
@Bean @ConditionalOnMissingBean(name="readinessStateHealthIndicator") public ReadinessStateHealthIndicator readinessStateHealthIndicator(ApplicationAvailability applicationAvailability)
@Bean public org.springframework.boot.actuate.autoconfigure.availability.AvailabilityProbesHealthEndpointGroupsPostProcessor availabilityProbesHealthEndpointGroupsPostProcessor(Environment environment)