public class GracefulShutdownHealthCheck extends Object implements org.springframework.boot.actuate.health.HealthIndicator, IProbeController
| Modifier and Type | Field and Description |
|---|---|
static String |
GRACEFULSHUTDOWN |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.actuate.health.Health |
health() |
void |
setReady(boolean ready)
This Methodwill be called when the Springboot App gets a SIGTERM Signal
|
public static final String GRACEFULSHUTDOWN
public org.springframework.boot.actuate.health.Health health()
health in interface org.springframework.boot.actuate.health.HealthIndicatorpublic void setReady(boolean ready)
IProbeControllersetReady in interface IProbeControllerready - give false to set the readynessprobe to falseCopyright © 2018. All rights reserved.