public class ConcurrentMapCacheStatisticsProvider extends Object implements CacheStatisticsProvider<org.springframework.cache.concurrent.ConcurrentMapCache>
CacheStatisticsProvider
implementation for ConcurrentMapCache
.Constructor and Description |
---|
ConcurrentMapCacheStatisticsProvider() |
Modifier and Type | Method and Description |
---|---|
CacheStatistics |
getCacheStatistics(org.springframework.cache.CacheManager cacheManager,
org.springframework.cache.concurrent.ConcurrentMapCache cache)
Return the current
CacheStatistics snapshot for the specified Cache
or null if the given cache could not be handled. |
public ConcurrentMapCacheStatisticsProvider()
public CacheStatistics getCacheStatistics(org.springframework.cache.CacheManager cacheManager, org.springframework.cache.concurrent.ConcurrentMapCache cache)
CacheStatisticsProvider
CacheStatistics
snapshot for the specified Cache
or null
if the given cache could not be handled.getCacheStatistics
in interface CacheStatisticsProvider<org.springframework.cache.concurrent.ConcurrentMapCache>
cacheManager
- the CacheManager
handling this cachecache
- the cache to handlenull
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.