|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SampledCacheManagerMBean
An MBean for CacheManager exposing sampled cache usage statistics
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. |
Method Detail |
---|
java.lang.String getName()
java.lang.String getMBeanRegisteredName()
java.lang.String getStatus()
void shutdown()
void clearAll()
Ehcache.removeAll()
mehod on each cache is called.
java.lang.String[] getCacheNames() throws java.lang.IllegalStateException
java.lang.IllegalStateException
java.util.Map<java.lang.String,long[]> getCacheMetrics()
long getCacheHitRate()
long getCacheMissRate()
long getCachePutRate()
long getCacheUpdateRate()
long getCacheEvictionRate()
long getCacheExpirationRate()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |