public class LivenessStateHealthIndicator extends AvailabilityStateHealthIndicator
HealthIndicator
that checks the LivenessState
of the application.AvailabilityStateHealthIndicator.StatusMappings<S extends AvailabilityState>
Constructor and Description |
---|
LivenessStateHealthIndicator(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 LivenessStateHealthIndicator(ApplicationAvailability availability)
protected AvailabilityState getState(ApplicationAvailability applicationAvailability)
AvailabilityStateHealthIndicator
getState
in class AvailabilityStateHealthIndicator
applicationAvailability
- the application availability