类 EhCacheStatisticsProvider
- java.lang.Object
- org.springframework.boot.actuate.cache.EhCacheStatisticsProvider
- 所有已实现的接口:
CacheStatisticsProvider<org.springframework.cache.ehcache.EhCacheCache>
public class EhCacheStatisticsProvider extends Object implements CacheStatisticsProvider<org.springframework.cache.ehcache.EhCacheCache>
CacheStatisticsProvider
implementation for EhCache.- 从以下版本开始:
- 1.3.0
构造器概要
构造器 构造器 说明 EhCacheStatisticsProvider()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 CacheStatistics
getCacheStatistics(org.springframework.cache.CacheManager cacheManager, org.springframework.cache.ehcache.EhCacheCache cache)
Return the currentCacheStatistics
snapshot for the specifiedCache
ornull
if the given cache could not be handled.
构造器详细资料
EhCacheStatisticsProvider
public EhCacheStatisticsProvider()
方法详细资料
getCacheStatistics
public CacheStatistics getCacheStatistics(org.springframework.cache.CacheManager cacheManager, org.springframework.cache.ehcache.EhCacheCache cache)
从接口复制的说明:CacheStatisticsProvider
Return the currentCacheStatistics
snapshot for the specifiedCache
ornull
if the given cache could not be handled.- 指定者:
getCacheStatistics
在接口中CacheStatisticsProvider<org.springframework.cache.ehcache.EhCacheCache>
- 参数:
cacheManager
- theCacheManager
handling this cachecache
- the cache to handle- 返回:
- the current cache statistics or
null