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:DataAnalyzerGets the statistics related to an instance of a search operation.- Specified by:
getAnalyzingStatisticsin interfaceDataAnalyzer- Returns:
- The Analysis Statistics
AnalyzingStatistics.
-
analyze
public AnalyzerResult analyze(int maxResults) throws IndexAnalyzerGeneralException, IndexAnalyzerBusyException Description copied from interface:DataAnalyzerPerforms the analysis of data between index and database.- Specified by:
analyzein interfaceDataAnalyzer- Parameters:
maxResults- The maximum results to return.- Returns:
- The Analysis result
AnalyzerResult. - Throws:
IndexAnalyzerGeneralExceptionIndexAnalyzerBusyException
-