springboot中健康检查AbstractHealthIndicator

 

继承方法从新实现dohealthCheck方法spring

HealthIndicator<-AbstractHealthIndicator<-RedisHealthIndicator->doHealthCheckspringboot

abstract class AbstractHealthIndicator implements HealthIndicatorui

 

Health<-Build继承

RedisHealthIndicatorit

RabbitMq在springboot中的健康检查io

RabbitHealthIndicatorclass

dohealthCheck 获取链接的版本号,来肯定是否成功List

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

retryTemplate doWithRetryim

retryListener

retryManager

ApplicationHealthIndicator

RedisHealthIndicator

DataSourceHealthIndicator

相关文章
相关标签/搜索