public class HealthCheckerProcessor extends Object
HealthChecker| 构造器和说明 |
|---|
HealthCheckerProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
init() |
boolean |
livenessHealthCheck(Map<String,org.springframework.boot.actuate.health.Health> healthMap)
Provided for liveness check.
|
boolean |
readinessHealthCheck(Map<String,org.springframework.boot.actuate.health.Health> healthMap)
Provided for readiness check.
|
public void init()
public boolean livenessHealthCheck(Map<String,org.springframework.boot.actuate.health.Health> healthMap)
healthMap - used to save the information of HealthChecker.public boolean readinessHealthCheck(Map<String,org.springframework.boot.actuate.health.Health> healthMap)
healthMap - used to save the information of HealthChecker.Copyright © 2019. All rights reserved.