Class AvailabilityProbesAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.availability.AvailabilityProbesAutoConfiguration
@AutoConfiguration(after={AvailabilityHealthContributorAutoConfiguration.class,ApplicationAvailabilityAutoConfiguration.class})
@Conditional(org.springframework.boot.actuate.autoconfigure.availability.AvailabilityProbesAutoConfiguration.ProbesCondition.class)
public class AvailabilityProbesAutoConfiguration
extends Object
Auto-configuration
for availability probes.- Since:
- 2.3.0
- Author:
- Brian Clozel, Phillip Webb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.actuate.autoconfigure.availability.AvailabilityProbesHealthEndpointGroupsPostProcessor
livenessStateHealthIndicator
(ApplicationAvailability applicationAvailability) readinessStateHealthIndicator
(ApplicationAvailability applicationAvailability)
-
Constructor Details
-
AvailabilityProbesAutoConfiguration
public AvailabilityProbesAutoConfiguration()
-
-
Method Details
-
livenessStateHealthIndicator
@Bean @ConditionalOnMissingBean(name="livenessStateHealthIndicator") public LivenessStateHealthIndicator livenessStateHealthIndicator(ApplicationAvailability applicationAvailability) -
readinessStateHealthIndicator
@Bean @ConditionalOnMissingBean(name="readinessStateHealthIndicator") public ReadinessStateHealthIndicator readinessStateHealthIndicator(ApplicationAvailability applicationAvailability) -
availabilityProbesHealthEndpointGroupsPostProcessor
@Bean public org.springframework.boot.actuate.autoconfigure.availability.AvailabilityProbesHealthEndpointGroupsPostProcessor availabilityProbesHealthEndpointGroupsPostProcessor(Environment environment)
-