public class ReadinessStateHealthIndicator extends AvailabilityStateHealthIndicator
HealthIndicator
that checks the LivenessState
of the application.AvailabilityStateHealthIndicator.StatusMappings<S extends AvailabilityState>
Constructor and Description |
---|
ReadinessStateHealthIndicator(ApplicationAvailability availability) |
Modifier and Type | Method and Description |
---|---|
protected AvailabilityState |
getState(ApplicationAvailability applicationAvailability)
Return the current availability state.
|
doHealthCheck
health
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHealth
public ReadinessStateHealthIndicator(ApplicationAvailability availability)
protected AvailabilityState getState(ApplicationAvailability applicationAvailability)
AvailabilityStateHealthIndicator
getState
in class AvailabilityStateHealthIndicator
applicationAvailability
- the application availability