public class CacheRegionStats extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
CacheRegionStats(CompositeData cData) |
CacheRegionStats(String region) |
CacheRegionStats(String region,
SecondLevelCacheStatistics src) |
Modifier and Type | Method and Description |
---|---|
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() |
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
public CacheRegionStats(String region)
region
- public CacheRegionStats(String region, SecondLevelCacheStatistics src)
region
- src
- public CacheRegionStats(CompositeData cData)
cData
- 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
- Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.