JBoss.orgCommunity Documentation
Template statistics exposes various templates used by the portal and its components to render markups. Various statistics are available for individual templates, and aggregated statistics, such as the list of the slowest templates. Most management operations are performed on a single template; those operations take the template identifier as an argument.
The JMX name template of Template statistics MBeans: exo:portal="portal",service=statistic,view=portal,type=template.
Attribute | Description |
---|---|
TemplateList
| The list of templates loaded. |
SlowestTemplates
| The list of the 10 slowest templates. |
MostExecutedTemplates
| The list of the 10 most used templates. |
FastestTemplates
| The list of 10 fastest templates. |
Operation | Description |
---|---|
getAverageTime(templateId)
| Return the average rendering time of a specified template in seconds. |
getExecutionCount(templateId)
| Return the number of times the specified template has been executed. |
getMinTime(templateId)
| Return the minimum rendering time of the specified template in seconds. |
getMaxTime(templateId)
| Return the maximum rendering time of the specified template in seconds. |
getSlowestTemplates
| Return the list of the 10 slowest templates. |
getMostExecutedTemplates
| Return the list of the 10 most used templates. |
getTemplateList
| Return the list of templates loaded. |
getFastestTemplates
| Return the list of the 10 fastest templates. |