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