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