public class CacheStats extends Stats implements ICacheStats
Only the composite cache knows what the hit count across all auxiliaries is.
Constructor and Description |
---|
CacheStats() |
Modifier and Type | Method and Description |
---|---|
IStats[] |
getAuxiliaryCacheStats() |
java.lang.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(java.lang.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.
|
java.lang.String |
toString() |
getTypeName, setTypeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTypeName, setTypeName
public java.lang.String getRegionName()
getRegionName
in interface ICacheStats
public void setRegionName(java.lang.String name)
setRegionName
in interface ICacheStats
name
- - The region namepublic IStats[] getAuxiliaryCacheStats()
getAuxiliaryCacheStats
in interface ICacheStats
public void setAuxiliaryCacheStats(IStats[] stats)
setAuxiliaryCacheStats
in interface ICacheStats
stats
- public IStatElement[] getStatElements()
getStatElements
in interface IStats
getStatElements
in class Stats
public void setStatElements(IStatElement[] stats)
IStats
setStatElements
in interface IStats
setStatElements
in class Stats
stats
- Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.