Class StatisticsIndexTask
java.lang.Object
io.goobi.viewer.model.statistics.usage.StatisticsIndexTask
Task managed by the viewers
TaskManager which indexes all DailySessionUsageStatistics up to the day before today. The task monitors
the indexing progress and deletes the DailySessionUsageStatistics for each day once a STATISTICS_USAGE document exists in the index for
that day. Should run in its own thread- Author:
- florian
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor using instances fromDataManagerStatisticsIndexTask(IDAO dao, StatisticsIndexer indexer, SolrSearchIndex solrIndex) Default constructor -
Method Summary
-
Constructor Details
-
StatisticsIndexTask
Default constructor- Parameters:
dao- the DAO from which to collect the usage statisticsindexer- theStatisticsIndexerto use for indexingsolrIndex- theSolrSearchIndexfor querying the SOLR for indexed STATISTICS_USAGE documents
-
StatisticsIndexTask
Constructor using instances fromDataManager- Throws:
DAOException
-
-
Method Details
-
startTask
Start the indexint- Throws:
DAOExceptionIOException
-