public interface HealthChecker
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName()
获取checker的名称。
|
default int |
getRetryCount()
获取失败后的重试次数。
|
default long |
getRetryTimeInterval()
获取失败后每次重试的时间间隔,单位:毫秒。
|
default int |
getTimeout()
获取超时时间。
|
org.springframework.boot.actuate.health.Health |
isHealthy()
返回是否健康。
|
org.springframework.boot.actuate.health.Health isHealthy()
String getName()
default int getRetryCount()
default long getRetryTimeInterval()
default int getTimeout()
Copyright © 2022 Zodiac. All rights reserved.