springboot中健康检查AbstractHealthIndicator

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

 

继承方法重新实现dohealthCheck方法

HealthIndicator<-AbstractHealthIndicator<-RedisHealthIndicator->doHealthCheck

abstract class AbstractHealthIndicator implements HealthIndicator

 

Health<-Build

RedisHealthIndicator

RabbitMq在springboot中的健康检查

RabbitHealthIndicator

dohealthCheck 获取连接的版本号,来确定是否成功

org.springframework.retry.RetryCallback->RetryTemplate->doExecute

retryTemplate doWithRetry

retryListener

retryManager

ApplicationHealthIndicator

RedisHealthIndicator

DataSourceHealthIndicator

转载于:https://my.oschina.net/iioschina/blog/1825478

你可能感兴趣的:(springboot中健康检查AbstractHealthIndicator)