Interface ResourceStatisticsFactory
-
- All Known Implementing Classes:
FrontFromHTTPServerResourceStatisticsFactory
,FrontOnlyResourceStatisticsFactory
,HTTPServerOnlyResourceStatisticsFactory
,PageElementResourceStatisticsFactory
,PageResourceStatisticsFactory
public interface ResourceStatisticsFactory
A factory of a resource statistic
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ResourceStatistics>
getResourceAccessToProcess(org.apache.ibatis.session.SqlSession sqlSession)
Get the list of existing resource accessint
markResourcesAsProcessed(org.apache.ibatis.session.SqlSession sqlSession)
Mark the statistics of this kind as processedint
purgeRawData(org.apache.ibatis.session.SqlSession sqlSession)
Purge the processed raw data related to this kind of statistics.
-
-
-
Method Detail
-
getResourceAccessToProcess
List<ResourceStatistics> getResourceAccessToProcess(org.apache.ibatis.session.SqlSession sqlSession)
Get the list of existing resource access- Parameters:
sqlSession
- The sql session- Returns:
- The non null list
-
markResourcesAsProcessed
int markResourcesAsProcessed(org.apache.ibatis.session.SqlSession sqlSession)
Mark the statistics of this kind as processed- Parameters:
sqlSession
- The sql session- Returns:
- The number of resources processed
-
purgeRawData
int purgeRawData(org.apache.ibatis.session.SqlSession sqlSession)
Purge the processed raw data related to this kind of statistics.- Parameters:
sqlSession
- The sql session- Returns:
- The number of purged rows.
-
-