Interface IStats
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ICacheStats
- All Known Implementing Classes:
CacheStats
,Stats
This interface defines the common behavior for a stats holder.
-
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."
-
Method Details
-
getStatElements
List<IStatElement<?>> getStatElements()Return generic statistical or historical data.- Returns:
- list of IStatElements
-
setStatElements
Set the generic statistical or historical data.- Parameters:
stats
-
-
getTypeName
Get the type name, such as "LRU Memory Cache." No formal type is defined.- Returns:
- String
-
setTypeName
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- Parameters:
name
-
-