title: How Spring Boot decide the liveness state of the application?
body: <p>The <a href="https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/availability/LivenessState.java" rel="nofollow noreferrer">LivenessState</a> of an application tells whether the internal state is valid. If Liveness is broken, this means that the application itself is in a failed state and cannot recover from it.</p>
  
  <p>I would like to know what are the things that Spring Boot checks to decide the <code>Liveness</code> state.</p>