public class EhCacheStatisticsProvider extends Object implements CacheStatisticsProvider<org.springframework.cache.ehcache.EhCacheCache>
CacheStatisticsProvider
implementation for EhCache.Constructor and Description |
---|
EhCacheStatisticsProvider() |
Modifier and Type | Method and Description |
---|---|
CacheStatistics |
getCacheStatistics(org.springframework.cache.CacheManager cacheManager,
org.springframework.cache.ehcache.EhCacheCache cache)
Return the current
CacheStatistics snapshot for the specified Cache
or null if the given cache could not be handled. |
public CacheStatistics getCacheStatistics(org.springframework.cache.CacheManager cacheManager, org.springframework.cache.ehcache.EhCacheCache 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.ehcache.EhCacheCache>
cacheManager
- the CacheManager
handling this cachecache
- the cache to handlenull
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.