|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.engine.stats.Stats
org.apache.jcs.engine.stats.CacheStats
public class CacheStats
This class stores cache historical and statistics data for a region.
Only the composite cache knows what the hit count across all auxiliaries is.
| Constructor Summary | |
|---|---|
CacheStats()
|
|
| Method Summary | |
|---|---|
IStats[] |
getAuxiliaryCacheStats()
|
String |
getRegionName()
Stats are for a region, though auxiliary data may be for more. |
IStatElement[] |
getStatElements()
This returns data about the auxiliaries, such as hit count. |
void |
setAuxiliaryCacheStats(IStats[] stats)
|
void |
setRegionName(String name)
Stats are for a region, though auxiliary data may be for more. |
void |
setStatElements(IStatElement[] stats)
Set the generic statistical or historical data. |
String |
toString()
|
| Methods inherited from class org.apache.jcs.engine.stats.Stats |
|---|
getTypeName, setTypeName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.jcs.engine.stats.behavior.IStats |
|---|
getTypeName, setTypeName |
| Constructor Detail |
|---|
public CacheStats()
| Method Detail |
|---|
public String getRegionName()
getRegionName in interface ICacheStatspublic void setRegionName(String name)
setRegionName in interface ICacheStatsname - - The region namepublic IStats[] getAuxiliaryCacheStats()
getAuxiliaryCacheStats in interface ICacheStatspublic void setAuxiliaryCacheStats(IStats[] stats)
setAuxiliaryCacheStats in interface ICacheStatsstats - public IStatElement[] getStatElements()
getStatElements in interface IStatsgetStatElements in class Statspublic void setStatElements(IStatElement[] stats)
IStats
setStatElements in interface IStatssetStatElements in class Statsstats - public String toString()
toString in class Stats
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||