Class ResourceStatisticsComponent

java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.datasource.AbstractMyBatisDAO
org.ametys.web.cache.monitoring.process.statistics.ResourceStatisticsComponent
All Implemented Interfaces:
LogEnabled, PluginAware, Component, Configurable, Contextualizable, Serviceable

The cache monitoring updater. It updates the statistics in the monitoring database, given the new request entries.
  • Field Details

    • ROLE

      public static final String ROLE
      Avalon ROLE.
  • Constructor Details

  • Method Details

    • updateStatistics

      public void updateStatistics()
      Update the cache statistics tables.
    • purgeRawData

      public void purgeRawData()
      Purge the processed raw request entries.
    • getPageElementCacheStats

      Get the raw data for the page elements cache statistics.
      Returns:
      A list a map, each map representing a page stat entry
    • getServerCacheStats

      Get the raw data for the server cache statistics.
      Parameters:
      siteName - The name of the site for which data will be extracted
      Returns:
      A list a map, each map representing a raw stat entry