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.
|
java.lang.Integer |
getCurrentCacheSize() |
java.lang.Integer |
getCurrentCacheSizeInPercent() |
java.lang.Long |
getEntitiesAddCount() |
java.lang.Long |
getEntitiesGetCount() |
java.lang.Long |
getEntitiesMissCount() |
java.lang.Long |
getEntitiesMissCountInPercent() |
java.lang.Long |
getEntitiesRemoveCount() |
java.lang.Integer |
getMaximumCacheSize() |
java.lang.Integer |
getMaxReachedCacheSize() |
java.lang.Integer |
getMaxReachedCacheSizeInPercent() |
java.util.Collection<java.lang.String> |
showCacheStatistics(int lowerBound,
int upperBound)
Returns a collection with the cache statistics.
|
java.lang.String |
startCacheStatistics()
Starts the collecting of the cache statistics.
|
java.lang.String |
stopCacheStatistics()
Stops the collection of the cache statistics.
|
activateTenant, afterPropertiesSet, deactivateTenant, getBeanInterface, getObjectName, isJNDIContextAware, setBeanInterface, setJmxPathgetJmxDomain, getJmxPath, getObjectNameString, getTenantId, setTenantpublic java.lang.Integer getMaximumCacheSize()
getMaximumCacheSize in interface MainCacheMBeanpublic java.lang.Integer getCurrentCacheSize()
getCurrentCacheSize in interface MainCacheMBeanpublic java.lang.Integer getCurrentCacheSizeInPercent()
getCurrentCacheSizeInPercent in interface MainCacheMBeanpublic java.lang.Integer getMaxReachedCacheSize()
getMaxReachedCacheSize in interface MainCacheMBeanMainCacheMBean.getCurrentCacheSize()public java.lang.Integer getMaxReachedCacheSizeInPercent()
getMaxReachedCacheSizeInPercent in interface MainCacheMBeanpublic java.lang.Long getEntitiesGetCount()
getEntitiesGetCount in interface MainCacheMBeanpublic java.lang.Long getEntitiesAddCount()
getEntitiesAddCount in interface MainCacheMBeanpublic java.lang.Long getEntitiesRemoveCount()
getEntitiesRemoveCount in interface MainCacheMBeanpublic java.lang.Long getEntitiesMissCount()
getEntitiesMissCount in interface MainCacheMBeanpublic java.lang.Long getEntitiesMissCountInPercent()
getEntitiesMissCountInPercent in interface MainCacheMBeanpublic void clearCache()
MainCacheMBeanclearCache in interface MainCacheMBeanpublic java.lang.String startCacheStatistics()
MainCacheMBeanstartCacheStatistics in interface MainCacheMBeanpublic java.lang.String stopCacheStatistics()
MainCacheMBeanstopCacheStatistics in interface MainCacheMBeanpublic java.util.Collection<java.lang.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 © 2018 SAP SE. All Rights Reserved.