@Component public class DefaultDataAnalyzer extends Object implements DataAnalyzer
Constructor and Description |
---|
DefaultDataAnalyzer(com.atlassian.event.api.EventPublisher eventPublisher,
IndexIssuesDataProvider indexIssuesDataProvider,
DatabaseIssuesDataProvider databaseIssuesDataProvider) |
Modifier and Type | Method and Description |
---|---|
AnalyzerResult |
analyze(int maxResults)
Performs the analysis of data between index and database.
|
AnalyzingStatistics |
getAnalyzingStatistics()
Gets the statistics related to an instance of a search operation.
|
@Autowired public DefaultDataAnalyzer(com.atlassian.event.api.EventPublisher eventPublisher, IndexIssuesDataProvider indexIssuesDataProvider, DatabaseIssuesDataProvider databaseIssuesDataProvider)
public AnalyzingStatistics getAnalyzingStatistics()
DataAnalyzer
getAnalyzingStatistics
in interface DataAnalyzer
AnalyzingStatistics
.public AnalyzerResult analyze(int maxResults) throws IndexAnalyzerGeneralException
DataAnalyzer
analyze
in interface DataAnalyzer
maxResults
- The maximum results to return.AnalyzerResult
.IndexAnalyzerGeneralException
Copyright © 2002-2022 Atlassian. All Rights Reserved.