Package com.bytedesk.team.config
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.actuate.health.HealthIndicator
getHealth
-
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
-
redisTemplate
-
-
Constructor Details
-
TeamHealthIndicator
public TeamHealthIndicator()
-
-
Method Details
-
health
public org.springframework.boot.actuate.health.Health health()- Specified by:
healthin interfaceorg.springframework.boot.actuate.health.HealthIndicator
-