|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.management.sampled.SampledCacheManager
public class SampledCacheManager
An implementation of SampledCacheManagerMBean
| Constructor Summary | |
|---|---|
SampledCacheManager(CacheManager cacheManager)
Constructor taking the backing CacheManager |
|
| Method Summary | |
|---|---|
void |
clearAll()
Clears the contents of all caches in the CacheManager, but without removing any caches. |
long |
getCacheEvictionRate()
|
long |
getCacheExpirationRate()
|
long |
getCacheHitRate()
|
java.util.Map<java.lang.String,long[]> |
getCacheMetrics()
Get a map of cache name to performance metrics (hits, misses). |
long |
getCacheMissRate()
|
java.lang.String[] |
getCacheNames()
Gets the cache names managed by the CacheManager |
long |
getCachePutRate()
|
long |
getCacheUpdateRate()
|
java.lang.String |
getMBeanRegisteredName()
Gets the name used to register this mbean. |
java.lang.String |
getName()
Gets the actual name of the cache manager. |
java.lang.String |
getStatus()
Gets the status attribute of the Ehcache |
void |
shutdown()
Shuts down the CacheManager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SampledCacheManager(CacheManager cacheManager)
CacheManager
cacheManager - | Method Detail |
|---|
public void clearAll()
Ehcache.removeAll() mehod on each cache is called.
clearAll in interface SampledCacheManagerMBean
public java.lang.String[] getCacheNames()
throws java.lang.IllegalStateException
getCacheNames in interface SampledCacheManagerMBeanjava.lang.IllegalStateExceptionpublic java.lang.String getStatus()
getStatus in interface SampledCacheManagerMBeanpublic void shutdown()
shutdown in interface SampledCacheManagerMBeanpublic java.util.Map<java.lang.String,long[]> getCacheMetrics()
SampledCacheManagerMBean
getCacheMetrics in interface SampledCacheManagerMBeanpublic long getCacheHitRate()
getCacheHitRate in interface SampledCacheManagerMBeanpublic long getCacheMissRate()
getCacheMissRate in interface SampledCacheManagerMBeanpublic long getCachePutRate()
getCachePutRate in interface SampledCacheManagerMBeanpublic long getCacheUpdateRate()
getCacheUpdateRate in interface SampledCacheManagerMBeanpublic long getCacheEvictionRate()
getCacheEvictionRate in interface SampledCacheManagerMBeanpublic long getCacheExpirationRate()
getCacheExpirationRate in interface SampledCacheManagerMBeanpublic java.lang.String getName()
getName in interface SampledCacheManagerMBeanSampledCacheManagerMBean.getName()public java.lang.String getMBeanRegisteredName()
getMBeanRegisteredName in interface SampledCacheManagerMBeanSampledCacheManagerMBean.getName()
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||