Class DefaultDataAnalyzer
java.lang.Object
com.atlassian.jira.plugins.indexanalyzer.impl.DefaultDataAnalyzer
- All Implemented Interfaces:
DataAnalyzer
Default Implementation of the Data Analyzer
- Since:
- v8.4
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDataAnalyzer
(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.jira.plugins.indexanalyzer.impl.IndexAnalyzerLockingExecutor lockingExecutor, IndexIssuesDataProvider indexIssuesDataProvider, DatabaseIssuesDataProvider databaseIssuesDataProvider) -
Method Summary
Modifier and TypeMethodDescriptionanalyze
(int maxResults) Performs the analysis of data between index and database.Gets the statistics related to an instance of a search operation.
-
Constructor Details
-
DefaultDataAnalyzer
@Autowired public DefaultDataAnalyzer(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.jira.plugins.indexanalyzer.impl.IndexAnalyzerLockingExecutor lockingExecutor, IndexIssuesDataProvider indexIssuesDataProvider, DatabaseIssuesDataProvider databaseIssuesDataProvider)
-
-
Method Details
-
getAnalyzingStatistics
Description copied from interface:DataAnalyzer
Gets the statistics related to an instance of a search operation.- Specified by:
getAnalyzingStatistics
in interfaceDataAnalyzer
- Returns:
- The Analysis Statistics
AnalyzingStatistics
.
-
analyze
public AnalyzerResult analyze(int maxResults) throws IndexAnalyzerGeneralException, IndexAnalyzerBusyException Description copied from interface:DataAnalyzer
Performs the analysis of data between index and database.- Specified by:
analyze
in interfaceDataAnalyzer
- Parameters:
maxResults
- The maximum results to return.- Returns:
- The Analysis result
AnalyzerResult
. - Throws:
IndexAnalyzerGeneralException
IndexAnalyzerBusyException
-