public class InfinispanCacheStatisticsProvider extends AbstractJmxCacheStatisticsProvider<org.infinispan.spring.provider.SpringCache>
CacheStatisticsProvider
implementation for Infinispan.Constructor and Description |
---|
InfinispanCacheStatisticsProvider() |
Modifier and Type | Method and Description |
---|---|
protected CacheStatistics |
getCacheStatistics(ObjectName objectName)
Return the current
CacheStatistics snapshot from the MBean identified by
the specified ObjectName . |
protected ObjectName |
getObjectName(org.infinispan.spring.provider.SpringCache cache)
Return the
ObjectName of the MBean that is managing the specified cache or
null if none is found. |
getAttribute, getCacheStatistics, getMBeanServer
protected ObjectName getObjectName(org.infinispan.spring.provider.SpringCache cache) throws MalformedObjectNameException
AbstractJmxCacheStatisticsProvider
ObjectName
of the MBean that is managing the specified cache or
null
if none is found.getObjectName
in class AbstractJmxCacheStatisticsProvider<org.infinispan.spring.provider.SpringCache>
cache
- the cache to handleMalformedObjectNameException
- if the ObjectName
for that cache is
invalidprotected CacheStatistics getCacheStatistics(ObjectName objectName)
AbstractJmxCacheStatisticsProvider
CacheStatistics
snapshot from the MBean identified by
the specified ObjectName
.getCacheStatistics
in class AbstractJmxCacheStatisticsProvider<org.infinispan.spring.provider.SpringCache>
objectName
- the object name of the cache statistics MBeanCopyright © 2017 Pivotal Software, Inc.. All rights reserved.