public class JCacheCacheStatisticsProvider extends AbstractJmxCacheStatisticsProvider<JCacheCache>
CacheStatisticsProvider implementation for a JSR-107 compliant cache.| Constructor and Description |
|---|
JCacheCacheStatisticsProvider() |
| 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(JCacheCache cache)
Return the
ObjectName of the MBean that is managing the specified cache or
null if none is found. |
getAttribute, getCacheStatistics, getMBeanServerprotected ObjectName getObjectName(JCacheCache cache) throws MalformedObjectNameException
AbstractJmxCacheStatisticsProviderObjectName of the MBean that is managing the specified cache or
null if none is found.getObjectName in class AbstractJmxCacheStatisticsProvider<JCacheCache>cache - the cache to handleMalformedObjectNameException - if the ObjectName for that cache is
invalidprotected CacheStatistics getCacheStatistics(ObjectName objectName)
AbstractJmxCacheStatisticsProviderCacheStatistics snapshot from the MBean identified by
the specified ObjectName.getCacheStatistics in class AbstractJmxCacheStatisticsProvider<JCacheCache>objectName - the object name of the cache statistics MBeanCopyright © 2016 Pivotal Software, Inc.. All rights reserved.