public class MemoryCacheMXBeanImpl extends Object implements MemoryCacheMXBean
| Constructor and Description |
|---|
MemoryCacheMXBeanImpl(CacheManager cacheManager,
String cacheName) |
| Modifier and Type | Method and Description |
|---|---|
double |
getAverageLoadPenalty()
Returns the average time spent loading new values.
|
long |
getEvictionCount()
Returns the number of times an entry has been evicted.
|
long |
getHitCount()
Returns the number of times Cache lookup methods have returned a cached value.
|
double |
getHitRate()
Returns the ratio of cache requests which were hits.
|
long |
getLoadCount()
Returns the total number of times that Cache lookup methods attempted to load new values.
|
long |
getLoadExceptionCount()
Returns the number of times Cache lookup methods threw an exception while loading a new value.
|
double |
getLoadExceptionRate()
Returns the ratio of cache loading attempts which threw exceptions.
|
long |
getLoadSuccessCount()
Returns the number of times Cache lookup methods have successfully loaded a new value.
|
long |
getMissCount()
Returns the number of times Cache lookup methods have returned an uncached (newly loaded) value, or null.
|
double |
getMissRate()
Returns the ratio of cache requests which were misses.
|
long |
getRequestCount()
Returns the number of times Cache lookup methods have returned either a cached or uncached value.
|
long |
getSize()
Returns the number of cached objects
|
long |
getTotalLoadTime()
Returns the total number of nanoseconds the cache has spent loading new values.
|
public MemoryCacheMXBeanImpl(@Nonnull CacheManager cacheManager, @Nonnull String cacheName)
public long getRequestCount()
MemoryCacheMXBeangetRequestCount in interface MemoryCacheMXBeanpublic long getHitCount()
MemoryCacheMXBeangetHitCount in interface MemoryCacheMXBeanpublic double getHitRate()
MemoryCacheMXBeangetHitRate in interface MemoryCacheMXBeanpublic long getMissCount()
MemoryCacheMXBeangetMissCount in interface MemoryCacheMXBeanpublic double getMissRate()
MemoryCacheMXBeangetMissRate in interface MemoryCacheMXBeanpublic long getLoadCount()
MemoryCacheMXBeangetLoadCount in interface MemoryCacheMXBeanpublic long getLoadSuccessCount()
MemoryCacheMXBeangetLoadSuccessCount in interface MemoryCacheMXBeanpublic long getLoadExceptionCount()
MemoryCacheMXBeangetLoadExceptionCount in interface MemoryCacheMXBeanpublic double getLoadExceptionRate()
MemoryCacheMXBeangetLoadExceptionRate in interface MemoryCacheMXBeanpublic long getTotalLoadTime()
MemoryCacheMXBeangetTotalLoadTime in interface MemoryCacheMXBeanpublic double getAverageLoadPenalty()
MemoryCacheMXBeangetAverageLoadPenalty in interface MemoryCacheMXBeanpublic long getEvictionCount()
MemoryCacheMXBeangetEvictionCount in interface MemoryCacheMXBeanpublic long getSize()
MemoryCacheMXBeangetSize in interface MemoryCacheMXBeanCopyright © 2018 Atlassian. All rights reserved.