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