|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.hibernate.management.impl.CacheRegionStats
public class CacheRegionStats
Field Summary | |
---|---|
protected long |
elementCountInMemory
in-memory element count |
protected long |
elementCountOnDisk
on-disk element count |
protected long |
elementCountTotal
total element count |
protected long |
hitCount
hit count |
protected double |
hitRatio
hit ratio |
protected long |
missCount
miss count |
protected long |
putCount
put count |
protected String |
region
region name |
protected String |
shortName
region short name |
Constructor Summary | |
---|---|
CacheRegionStats(CompositeData cData)
|
|
CacheRegionStats(String region)
|
|
CacheRegionStats(String region,
SecondLevelCacheStatistics src)
|
Method Summary | |
---|---|
protected double |
determineHitRatio()
|
static CacheRegionStats[] |
fromTabularData(TabularData tabularData)
|
long |
getElementCountInMemory()
|
long |
getElementCountOnDisk()
|
long |
getElementCountTotal()
|
long |
getHitCount()
|
double |
getHitRatio()
|
long |
getMissCount()
|
long |
getPutCount()
|
String |
getRegion()
|
String |
getShortName()
|
static TabularData |
newTabularDataInstance()
|
CompositeData |
toCompositeData()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final String region
protected final String shortName
protected long hitCount
protected long missCount
protected long putCount
protected double hitRatio
protected long elementCountInMemory
protected long elementCountOnDisk
protected long elementCountTotal
Constructor Detail |
---|
public CacheRegionStats(String region)
region
- public CacheRegionStats(String region, SecondLevelCacheStatistics src)
region
- src
- public CacheRegionStats(CompositeData cData)
cData
- Method Detail |
---|
protected double determineHitRatio()
public String toString()
toString
in class Object
Object.toString()
public String getRegion()
public String getShortName()
public long getHitCount()
public long getMissCount()
public long getPutCount()
public double getHitRatio()
public long getElementCountInMemory()
public long getElementCountOnDisk()
public long getElementCountTotal()
public CompositeData toCompositeData()
public static TabularData newTabularDataInstance()
public static CacheRegionStats[] fromTabularData(TabularData tabularData)
tabularData
-
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |