Class Stats
java.lang.Object
org.apache.commons.jcs3.engine.stats.Stats
- All Implemented Interfaces:
Serializable,IStats
- Direct Known Subclasses:
CacheStats
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<IStatElement<?>>Return generic statistical or historical data.Get the type name, such as "LRU Memory Cache."voidsetStatElements(List<IStatElement<?>> stats) Set the generic statistical or historical data.voidsetTypeName(String name) Set the type name, such as "LRU Memory Cache."toString()
-
Constructor Details
-
Stats
public Stats()
-
-
Method Details
-
getStatElements
Description copied from interface:IStatsReturn generic statistical or historical data.- Specified by:
getStatElementsin interfaceIStats- Returns:
- IStatElement[]
-
setStatElements
Description copied from interface:IStatsSet the generic statistical or historical data.- Specified by:
setStatElementsin interfaceIStats- Parameters:
stats-
-
getTypeName
Description copied from interface:IStatsGet the type name, such as "LRU Memory Cache." No formal type is defined.- Specified by:
getTypeNamein interfaceIStats- Returns:
- typeName
-
setTypeName
Description copied from interface:IStatsSet the type name, such as "LRU Memory Cache." No formal type is defined. If we need formal types, we can use the cachetype param- Specified by:
setTypeNamein interfaceIStats- Parameters:
name-
-
toString
-