@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnEnabledHealthIndicator("hazelcastHealthIndicator")
    public HealthIndicator hazelcastHealthIndicator(
        final CasConfigurationProperties casProperties,
        @Qualifier("casTicketRegistryHazelcastInstance")
        final ObjectProvider<HazelcastInstance> casTicketRegistryHazelcastInstance) {
        val warn = casProperties.getMonitor().getWarn();
        return new HazelcastHealthIndicator(warn.getEvictionThreshold(),
            warn.getThreshold(), casTicketRegistryHazelcastInstance);
    }
This is {@link CasHazelcastMonitorAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-hazelcast-monitor/src/main/java/org/apereo/cas/config/CasHazelcastMonitorAutoConfiguration.java