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