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