@Component public class DefaultIndexHealer extends Object implements IndexHealer
Constructor and Description |
---|
DefaultIndexHealer(com.atlassian.event.api.EventPublisher eventPublisher,
IssueManager issueManager,
IssueIndexingService issueIndexingService,
com.atlassian.jira.plugins.indexanalyzer.impl.IndexAnalyzerLockingExecutor lockingExecutor) |
Modifier and Type | Method and Description |
---|---|
HealerResult |
heal(AnalyzerResult analyzerResult)
Based on results from
DataAnalyzer.analyze(int) , heals the index by indexing and deindexing issues as required. |
boolean |
isBusy() |
@Autowired public DefaultIndexHealer(com.atlassian.event.api.EventPublisher eventPublisher, IssueManager issueManager, IssueIndexingService issueIndexingService, com.atlassian.jira.plugins.indexanalyzer.impl.IndexAnalyzerLockingExecutor lockingExecutor)
public boolean isBusy()
isBusy
in interface IndexHealer
public HealerResult heal(AnalyzerResult analyzerResult) throws IndexAnalyzerGeneralException, IndexAnalyzerBusyException
IndexHealer
DataAnalyzer.analyze(int)
, heals the index by indexing and deindexing issues as required.heal
in interface IndexHealer
IndexAnalyzerGeneralException
- When there's a problem with index operations: indexing, deindexing or searchIndexAnalyzerBusyException
- When another index analyzing or healing task is already runningCopyright © 2002-2024 Atlassian. All Rights Reserved.