public class ResourceStatisticsComponent extends AbstractMyBatisDAO
Constructor and Description |
---|
ResourceStatisticsComponent() |
Modifier and Type | Method and Description |
---|---|
private int |
_update(String logName,
ResourceStatisticsFactory factory) |
private int |
_updateCacheStats(SqlSession sqlSession,
List<ResourceStatistics> resourceStatisticsList) |
List<Map<String,Object>> |
getPageElementCacheStats()
Get the raw data for the page elements cache statistics.
|
List<Map<String,Object>> |
getServerCacheStats(String siteName)
Get the raw data for the server cache statistics.
|
void |
purgeRawData()
Purge the processed raw request entries.
|
void |
updateStatistics()
Update the cache statistics tables.
|
configure, contextualize, getSession, getSession, reload, service, setPluginInfo
getLogger, setLogger
public ResourceStatisticsComponent()
public void updateStatistics()
private int _update(String logName, ResourceStatisticsFactory factory)
private int _updateCacheStats(SqlSession sqlSession, List<ResourceStatistics> resourceStatisticsList)
public void purgeRawData()
public List<Map<String,Object>> getPageElementCacheStats()