public class MainCacheMBeanImpl extends AbstractJMXMBean implements MainCacheMBean
AbstractJMXMBean.TenantAwareExecutor<T>| Constructor and Description |
|---|
MainCacheMBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache()
clears the cache and the statistics.
|
Integer |
getCurrentCacheSize() |
Integer |
getCurrentCacheSizeInPercent() |
Long |
getEntitiesAddCount() |
Long |
getEntitiesGetCount() |
Long |
getEntitiesMissCount() |
Long |
getEntitiesMissCountInPercent() |
Long |
getEntitiesRemoveCount() |
Integer |
getMaximumCacheSize() |
Integer |
getMaxReachedCacheSize() |
Integer |
getMaxReachedCacheSizeInPercent() |
Collection<String> |
showCacheStatistics(int lowerBound,
int upperBound)
Returns a collection with the cache statistics.
|
String |
startCacheStatistics()
Starts the collecting of the cache statistics.
|
String |
stopCacheStatistics()
Stops the collection of the cache statistics.
|
activateTenant, afterPropertiesSet, deactivateTenant, getBeanInterface, getObjectName, isJNDIContextAware, setBeanInterface, setJmxPathgetJmxDomain, getJmxPath, getObjectNameString, getTenantId, setTenantpublic Integer getMaximumCacheSize()
getMaximumCacheSize in interface MainCacheMBeanpublic Integer getCurrentCacheSize()
getCurrentCacheSize in interface MainCacheMBeanpublic Integer getCurrentCacheSizeInPercent()
getCurrentCacheSizeInPercent in interface MainCacheMBeanpublic Integer getMaxReachedCacheSize()
getMaxReachedCacheSize in interface MainCacheMBeanMainCacheMBean.getCurrentCacheSize()public Integer getMaxReachedCacheSizeInPercent()
getMaxReachedCacheSizeInPercent in interface MainCacheMBeanpublic Long getEntitiesGetCount()
getEntitiesGetCount in interface MainCacheMBeanpublic Long getEntitiesAddCount()
getEntitiesAddCount in interface MainCacheMBeanpublic Long getEntitiesRemoveCount()
getEntitiesRemoveCount in interface MainCacheMBeanpublic Long getEntitiesMissCount()
getEntitiesMissCount in interface MainCacheMBeanpublic Long getEntitiesMissCountInPercent()
getEntitiesMissCountInPercent in interface MainCacheMBeanpublic void clearCache()
MainCacheMBeanclearCache in interface MainCacheMBeanpublic String startCacheStatistics()
MainCacheMBeanstartCacheStatistics in interface MainCacheMBeanpublic String stopCacheStatistics()
MainCacheMBeanstopCacheStatistics in interface MainCacheMBeanpublic Collection<String> showCacheStatistics(int lowerBound, int upperBound)
MainCacheMBeanshowCacheStatistics in interface MainCacheMBeanlowerBound - the lower bound the the returned collection. Each entry factor is greater or equal.upperBound - the upper bound for the returned collection. Each entry factor is equal or less.Copyright © 2017 SAP SE. All Rights Reserved.