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 SummaryModifier 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."
- 
Method Details- 
getStatElementsList<IStatElement<?>> getStatElements()Return generic statistical or historical data.- Returns:
- list of IStatElements
 
- 
setStatElementsSet the generic statistical or historical data.- Parameters:
- stats-
 
- 
getTypeNameGet the type name, such as "LRU Memory Cache." No formal type is defined.- Returns:
- String
 
- 
setTypeNameSet 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-
 
 
-