类 InfinispanCacheStatisticsProvider
- java.lang.Object
- org.springframework.boot.actuate.cache.AbstractJmxCacheStatisticsProvider<org.infinispan.spring.provider.SpringCache>
- org.springframework.boot.actuate.cache.InfinispanCacheStatisticsProvider
- 所有已实现的接口:
CacheStatisticsProvider<org.infinispan.spring.provider.SpringCache>
public class InfinispanCacheStatisticsProvider extends AbstractJmxCacheStatisticsProvider<org.infinispan.spring.provider.SpringCache>
CacheStatisticsProviderimplementation for Infinispan.- 从以下版本开始:
- 1.3.0
构造器概要
构造器 构造器 说明 InfinispanCacheStatisticsProvider()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected CacheStatisticsgetCacheStatistics(ObjectName objectName)Return the currentCacheStatisticssnapshot from the MBean identified by the specifiedObjectName.protected ObjectNamegetObjectName(org.infinispan.spring.provider.SpringCache cache)Return theObjectNameof the MBean that is managing the specified cache ornullif none is found.从类继承的方法 org.springframework.boot.actuate.cache.AbstractJmxCacheStatisticsProvider
getAttribute, getCacheStatistics, getMBeanServer
构造器详细资料
InfinispanCacheStatisticsProvider
public InfinispanCacheStatisticsProvider()
方法详细资料
getObjectName
protected ObjectName getObjectName(org.infinispan.spring.provider.SpringCache cache) throws MalformedObjectNameException
从类复制的说明:AbstractJmxCacheStatisticsProviderReturn theObjectNameof the MBean that is managing the specified cache ornullif none is found.- 指定者:
getObjectName在类中AbstractJmxCacheStatisticsProvider<org.infinispan.spring.provider.SpringCache>- 参数:
cache- the cache to handle- 返回:
- the object name of the cache statistics MBean
- 抛出:
MalformedObjectNameException- if theObjectNamefor that cache is invalid
getCacheStatistics
protected CacheStatistics getCacheStatistics(ObjectName objectName)
从类复制的说明:AbstractJmxCacheStatisticsProviderReturn the currentCacheStatisticssnapshot from the MBean identified by the specifiedObjectName.- 指定者:
getCacheStatistics在类中AbstractJmxCacheStatisticsProvider<org.infinispan.spring.provider.SpringCache>- 参数:
objectName- the object name of the cache statistics MBean- 返回:
- the current cache statistics