类 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>
CacheStatisticsProvider
implementation for Infinispan.- 从以下版本开始:
- 1.3.0
构造器概要
构造器 构造器 说明 InfinispanCacheStatisticsProvider()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected CacheStatistics
getCacheStatistics(ObjectName objectName)
Return the currentCacheStatistics
snapshot from the MBean identified by the specifiedObjectName
.protected ObjectName
getObjectName(org.infinispan.spring.provider.SpringCache cache)
Return theObjectName
of the MBean that is managing the specified cache ornull
if 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
从类复制的说明:AbstractJmxCacheStatisticsProvider
Return theObjectName
of the MBean that is managing the specified cache ornull
if 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 theObjectName
for that cache is invalid
getCacheStatistics
protected CacheStatistics getCacheStatistics(ObjectName objectName)
从类复制的说明:AbstractJmxCacheStatisticsProvider
Return the currentCacheStatistics
snapshot 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