public class EhCacheHealthIndicator extends AbstractCacheHealthIndicator
Cache
instance.
The accuracy of statistics is governed by the value of Cache.getStatistics()
.
NOTE: computation of highly accurate statistics is expensive.
casProperties
Constructor and Description |
---|
EhCacheHealthIndicator(net.sf.ehcache.CacheManager ehcacheTicketsCache,
CasConfigurationProperties casProperties) |
Modifier and Type | Method and Description |
---|---|
protected CacheStatistics[] |
getStatistics()
Gets the statistics from this monitor.
|
doHealthCheck, status
public EhCacheHealthIndicator(net.sf.ehcache.CacheManager ehcacheTicketsCache, CasConfigurationProperties casProperties)
protected CacheStatistics[] getStatistics()
AbstractCacheHealthIndicator
getStatistics
in class AbstractCacheHealthIndicator