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."void
setStatElements
(List<IStatElement<?>> stats) Set the generic statistical or historical data.void
setTypeName
(String name) Set the type name, such as "LRU Memory Cache."toString()
-
Constructor Details
-
Stats
public Stats()
-
-
Method Details
-
getStatElements
Description copied from interface:IStats
Return generic statistical or historical data.- Specified by:
getStatElements
in interfaceIStats
- Returns:
- IStatElement[]
-
setStatElements
Description copied from interface:IStats
Set the generic statistical or historical data.- Specified by:
setStatElements
in interfaceIStats
- Parameters:
stats
-
-
getTypeName
Description copied from interface:IStats
Get the type name, such as "LRU Memory Cache." No formal type is defined.- Specified by:
getTypeName
in interfaceIStats
- Returns:
- typeName
-
setTypeName
Description copied from interface:IStats
Set 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:
setTypeName
in interfaceIStats
- Parameters:
name
-
-
toString
-