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 5CacheStatisticsProviderimplementation 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 CacheStatisticsgetCacheStatistics(org.springframework.cache.CacheManager cacheManager, org.springframework.cache.guava.GuavaCache cache)Deprecated.Return the currentCacheStatisticssnapshot for the specifiedCacheornullif 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:CacheStatisticsProviderReturn the currentCacheStatisticssnapshot for the specifiedCacheornullif the given cache could not be handled.- Specified by:
getCacheStatisticsin interfaceCacheStatisticsProvider<org.springframework.cache.guava.GuavaCache>- Parameters:
cacheManager- theCacheManagerhandling this cachecache- the cache to handle- Returns:
- the current cache statistics or
null