public class LivenessProbeHealthIndicator extends AbstractHealthIndicator
HealthIndicator
that checks the LivenessState
of the application.Constructor and Description |
---|
LivenessProbeHealthIndicator(ApplicationAvailabilityProvider applicationAvailabilityProvider) |
Modifier and Type | Method and Description |
---|---|
protected void |
doHealthCheck(Health.Builder builder)
Actual health check logic.
|
health
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHealth
public LivenessProbeHealthIndicator(ApplicationAvailabilityProvider applicationAvailabilityProvider)
protected void doHealthCheck(Health.Builder builder) throws Exception
AbstractHealthIndicator
doHealthCheck
in class AbstractHealthIndicator
builder
- the Health.Builder
to report health status and detailsException
- any Exception
that should create a Status.DOWN
system status.