Class TeamHealthIndicator

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

@Component public class TeamHealthIndicator extends Object implements org.springframework.boot.actuate.health.HealthIndicator
Team模块健康检查 监控团队协作相关服务:数据库、Redis缓存、成员管理、权限系统等
  • Field Details

    • maxMembersPerTeam

      @Value("${bytedesk.team.max-members-per-team:100}") private int maxMembersPerTeam
    • invitationExpiryHours

      @Value("${bytedesk.team.invitation.expiry-hours:72}") private int invitationExpiryHours
    • cacheEnabled

      @Value("${bytedesk.team.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

    • TeamHealthIndicator

      public TeamHealthIndicator()
  • Method Details

    • health

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