Interface ResourceStatisticsFactory

All Known Implementing Classes:
FrontFromHTTPServerResourceStatisticsFactory, FrontOnlyResourceStatisticsFactory, HTTPServerOnlyResourceStatisticsFactory, PageElementResourceStatisticsFactory, PageResourceStatisticsFactory

public interface ResourceStatisticsFactory
A factory of a resource statistic
  • Method Details

    • getResourceAccessToProcess

      Get the list of existing resource access
      Parameters:
      sqlSession - The sql session
      Returns:
      The non null list
    • markResourcesAsProcessed

      Mark the statistics of this kind as processed
      Parameters:
      sqlSession - The sql session
      Returns:
      The number of resources processed
    • purgeRawData

      int purgeRawData(SqlSession sqlSession)
      Purge the processed raw data related to this kind of statistics.
      Parameters:
      sqlSession - The sql session
      Returns:
      The number of purged rows.