Class GuavaCacheStatisticsProvider
- java.lang.Object
- org.springframework.boot.actuate.cache.GuavaCacheStatisticsProvider
- All Implemented Interfaces:
CacheStatisticsProvider<org.springframework.cache.guava.GuavaCache>
@Deprecated public class GuavaCacheStatisticsProvider extends Object implements CacheStatisticsProvider<org.springframework.cache.guava.GuavaCache>
Deprecated.as of 1.5 following the removal of Guava support in Spring Framework 5CacheStatisticsProvider
implementation for Guava.- Since:
- 1.3.0
Constructor Summary
Constructors Constructor Description GuavaCacheStatisticsProvider()
Deprecated.
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CacheStatistics
getCacheStatistics(org.springframework.cache.CacheManager cacheManager, org.springframework.cache.guava.GuavaCache cache)
Deprecated.Return the currentCacheStatistics
snapshot for the specifiedCache
ornull
if the given cache could not be handled.
Constructor Detail
GuavaCacheStatisticsProvider
public GuavaCacheStatisticsProvider()
Deprecated.
Method Detail
getCacheStatistics
public CacheStatistics getCacheStatistics(org.springframework.cache.CacheManager cacheManager, org.springframework.cache.guava.GuavaCache cache)
Deprecated.Description copied from interface:CacheStatisticsProvider
Return the currentCacheStatistics
snapshot for the specifiedCache
ornull
if the given cache could not be handled.- Specified by:
getCacheStatistics
in interfaceCacheStatisticsProvider<org.springframework.cache.guava.GuavaCache>
- Parameters:
cacheManager
- theCacheManager
handling this cachecache
- the cache to handle- Returns:
- the current cache statistics or
null