anchor.diff:  
   
   [[boot-features-managing-application-availability]]
  -=== Managing the Application Availability State
  +==== Managing the Application Availability State
   Application components can retrieve the current availability state at any time, by injecting the `ApplicationAvailabilityProvider` and calling methods on it.
   More often, applications will want to listen to state updates or update the state of the application.
   
  
positive.code: An application is considered live as soon as the context has been refreshed, see <<boot-features-application-events-and-listeners, Spring Boot application lifecycle and related Application Events>>.
  
  [[boot-features-application-availability-readiness]]
  === Readiness State
  The "Readiness" state of an application tells whether the application is ready to handle traffic.
  A failing "Readiness" state tells the platform that it should not route traffic to the application for now.
  This typically happens during startup, while `CommandLineRunner` and `ApplicationRunner` components are being processed, or at any time if the application decides that it's too busy for additional traffic.
  
negative.code: See the {spring-boot-module-api}/builder/SpringApplicationBuilder.html[`SpringApplicationBuilder` Javadoc] for full details.
  
  [[boot-features-application-availability-state]]
  === Application Availability State
  When deployed on plaftorms, applications can provide information about their availability to the platform using infrastructure like https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/[Kubernetes Probes].
  Spring Boot manages this application state with the `ApplicationAvailabilityProvider` and makes it available to application components and the platform itself.
  
  
  [[boot-features-application-availability-liveness]]
  ==== Liveness State
  The "Liveness" state of an application tells whether its internal state allows it to work correctly, or recover by itself if it's currently failing.
  An invalid "Liveness" state means that the application is in a broken state and cannot recover from it; the infrastructure should then restart the application to mitigate that problem.
  
  