@Bean
    @ConditionalOnEnabledHealthIndicator("memcachedHealthIndicator")
    @ConditionalOnMissingBean(name = "memcachedHealthIndicator")
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public HealthIndicator memcachedHealthIndicator(
        @Qualifier("memcachedHealthClientPool")
        final ObjectPool<MemcachedClientIF> memcachedHealthClientPool,
        final CasConfigurationProperties casProperties) {
        val warn = casProperties.getMonitor().getWarn();
        return new MemcachedHealthIndicator(memcachedHealthClientPool,
            warn.getEvictionThreshold(), warn.getThreshold());
    }
This is {@link CasMemcachedMonitorAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
@deprecated Since 7.0.0
support/cas-server-support-memcached-monitor/src/main/java/org/apereo/cas/config/CasMemcachedMonitorAutoConfiguration.java