类 HazelcastCacheStatisticsProvider
- java.lang.Object
- org.springframework.boot.actuate.cache.HazelcastCacheStatisticsProvider
- 所有已实现的接口:
CacheStatisticsProvider<com.hazelcast.spring.cache.HazelcastCache>
public class HazelcastCacheStatisticsProvider extends Object implements CacheStatisticsProvider<com.hazelcast.spring.cache.HazelcastCache>
CacheStatisticsProviderimplementation for Hazelcast.- 从以下版本开始:
- 1.3.0
构造器概要
构造器 构造器 说明 HazelcastCacheStatisticsProvider()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 CacheStatisticsgetCacheStatistics(org.springframework.cache.CacheManager cacheManager, com.hazelcast.spring.cache.HazelcastCache cache)Return the currentCacheStatisticssnapshot for the specifiedCacheornullif the given cache could not be handled.
构造器详细资料
HazelcastCacheStatisticsProvider
public HazelcastCacheStatisticsProvider()
方法详细资料
getCacheStatistics
public CacheStatistics getCacheStatistics(org.springframework.cache.CacheManager cacheManager, com.hazelcast.spring.cache.HazelcastCache cache)
从接口复制的说明:CacheStatisticsProviderReturn the currentCacheStatisticssnapshot for the specifiedCacheornullif the given cache could not be handled.- 指定者:
getCacheStatistics在接口中CacheStatisticsProvider<com.hazelcast.spring.cache.HazelcastCache>- 参数:
cacheManager- theCacheManagerhandling this cachecache- the cache to handle- 返回:
- the current cache statistics or
null