|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.caching.impl.CacheMXBeanImpl
public class CacheMXBeanImpl
TODO: class description
| Constructor Summary | |
|---|---|
CacheMXBeanImpl(Cache cache,
String ownerTenantDomain,
int ownerTenantId)
Constructor |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the statistics counters to 0 for the associated Cache. |
float |
getAverageGetMillis()
The mean time to execute gets. |
float |
getAveragePutMillis()
The mean time to execute puts. |
float |
getAverageRemoveMillis()
The mean time to execute removes. |
long |
getCacheEvictions()
The total number of evictions from the cache. |
long |
getCacheGets()
The total number of requests to the cache. |
float |
getCacheHitPercentage()
This is a measure of cache efficiency. |
long |
getCacheHits()
The number of get requests that were satisfied by the cache. |
long |
getCacheMisses()
A miss is a get request which is not satisfied. |
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. |
String |
getName()
|
Date |
getStartAccumulationDate()
The date from which statistics have been accumulated. |
Status |
getStatus()
Gets the Status attribute of the Cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheMXBeanImpl(Cache cache,
String ownerTenantDomain,
int ownerTenantId)
cache - the cacheownerTenantDomain - ownerTenantDomainownerTenantId - ownerTenantId| Method Detail |
|---|
public void clear()
CacheStatistics
clear in interface CacheStatisticspublic Date getStartAccumulationDate()
CacheStatistics
getStartAccumulationDate in interface CacheStatisticspublic long getCacheHits()
CacheStatistics
getCacheHits in interface CacheStatisticspublic float getCacheHitPercentage()
CacheStatisticsCacheStatistics.getCacheHits() divided by CacheStatistics.getCacheGets() * 100.
getCacheHitPercentage in interface CacheStatisticspublic long getCacheMisses()
CacheStatistics
getCacheMisses in interface CacheStatisticspublic float getCacheMissPercentage()
CacheStatisticsCacheStatistics.getCacheMisses() divided by CacheStatistics.getCacheGets() * 100.
getCacheMissPercentage in interface CacheStatisticspublic long getCacheGets()
CacheStatistics
getCacheGets in interface CacheStatisticspublic long getCachePuts()
CacheStatistics
getCachePuts in interface CacheStatisticspublic long getCacheRemovals()
CacheStatistics
getCacheRemovals in interface CacheStatisticspublic long getCacheEvictions()
CacheStatistics
getCacheEvictions in interface CacheStatisticspublic float getAverageGetMillis()
CacheStatistics
getAverageGetMillis in interface CacheStatisticspublic float getAveragePutMillis()
CacheStatistics
getAveragePutMillis in interface CacheStatisticspublic float getAverageRemoveMillis()
CacheStatistics
getAverageRemoveMillis in interface CacheStatisticspublic String getName()
getName in interface CacheMXBeanpublic Status getStatus()
CacheMXBeanStatus attribute of the Cache.
getStatus in interface CacheMXBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||