|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheStatisticsMBean
A management bean for caches.
Statistics are accumulated from the time a cache is created. They can be reset to zero usingclearStatistics().
| Method Summary | |
|---|---|
void |
clearStatistics()
Clears the statistics counters to 0 for the associated Cache. |
long |
getCacheEvictions()
The total number of evictions from the cache. |
long |
getCacheGets()
The total number of requests to the cache. |
float |
getCacheHitPercentage()
getCacheHits() divided by the total number of gets. |
long |
getCacheHits()
The number of get requests that were satisfied by the cache. |
long |
getCacheMisses()
|
float |
getCacheMissPercentage()
Returns the percentage of cache accesses that did not find a requested entry in the cache. |
long |
getCachePuts()
The total number of puts to the cache. |
long |
getCacheRemovals()
The total number of removals from the cache. |
long |
getEntryCount()
|
String |
getName()
|
String |
getStatus()
Gets the Status attribute of the Cache expressed as a String. |
| Method Detail |
|---|
String getName()
String getStatus()
Status attribute of the Cache expressed as a String.
void clearStatistics()
long getEntryCount()
long getCacheHits()
float getCacheHitPercentage()
getCacheHits() divided by the total number of gets.
This is a measure of cache efficiency.
long getCacheMisses()
float getCacheMissPercentage()
long getCacheGets()
long getCachePuts()
long getCacheRemovals()
long getCacheEvictions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||