繼承方法從新實現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