Class SocialHealthIndicator

java.lang.Object
com.bytedesk.social.config.SocialHealthIndicator
All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor, org.springframework.boot.actuate.health.HealthIndicator

@Component public class SocialHealthIndicator extends Object implements org.springframework.boot.actuate.health.HealthIndicator
Social模块健康检查 监控社交功能相关服务:数据库、Redis缓存、用户关系图谱等
  • Field Details

    • maxConnections

      @Value("${bytedesk.social.max-connections:5000}") private int maxConnections
    • cacheEnabled

      @Value("${bytedesk.social.cache.enabled:true}") private boolean cacheEnabled
    • dataSource

      @Autowired(required=false) private DataSource dataSource
    • redisTemplate

      @Autowired(required=false) private org.springframework.data.redis.core.RedisTemplate<String,Object> redisTemplate
  • Constructor Details

    • SocialHealthIndicator

      public SocialHealthIndicator()
  • Method Details

    • health

      public org.springframework.boot.actuate.health.Health health()
      Specified by:
      health in interface org.springframework.boot.actuate.health.HealthIndicator