public class IndexingBackdoor extends Object
Constructor and Description |
---|
IndexingBackdoor(IssueIndexer issueIndexer,
TaskManager taskManager,
I18nHelper.BeanFactory i18nFactory,
JiraAuthenticationContext jiraAuthenticationContext,
IssueIndexManager issueIndexManager,
ProjectManager projectManager,
SearchService searchService,
IssueManager issueManager,
UserManager userManager,
ReindexRequestManager reindexRequestManager) |
Modifier and Type | Method and Description |
---|---|
long |
clearPendingReindexRequests() |
boolean |
deindex(String key) |
void |
deleteIndex() |
boolean |
indexDummyIssue(String id,
String issueType,
String projectId,
String key,
String summary,
String description) |
boolean |
isIndexConsistent() |
boolean |
isIndexingProject(Long projectId) |
boolean |
isIndexingProjectStarted(Long projectId) |
boolean |
isIndexingRunning() |
boolean |
isIndexingStarted() |
boolean |
isIndexUpdatedFieldConsistent() |
javax.ws.rs.core.Response |
makeReindexRequest(ReindexRequestType type,
List<String> sharedEntityTypes) |
javax.ws.rs.core.Response |
pauseScheduledReindex()
Pause the scheduled reindex service
|
javax.ws.rs.core.Response |
reindexAll() |
javax.ws.rs.core.Response |
startScheduledReindex()
Start the scheduled reindex service
|
Long |
triggerBackgroundIndexing(boolean reindexComments,
boolean reindexChangeHistory,
boolean reindexWorklog,
boolean reindexIssues) |
void |
triggerStopTheWorldIndexing() |
public IndexingBackdoor(IssueIndexer issueIndexer, TaskManager taskManager, I18nHelper.BeanFactory i18nFactory, JiraAuthenticationContext jiraAuthenticationContext, IssueIndexManager issueIndexManager, ProjectManager projectManager, SearchService searchService, IssueManager issueManager, UserManager userManager, ReindexRequestManager reindexRequestManager)
public Long triggerBackgroundIndexing(boolean reindexComments, boolean reindexChangeHistory, boolean reindexWorklog, boolean reindexIssues)
public void triggerStopTheWorldIndexing()
public void deleteIndex()
public boolean deindex(String key)
public boolean indexDummyIssue(String id, String issueType, String projectId, String key, String summary, String description)
public javax.ws.rs.core.Response reindexAll()
public javax.ws.rs.core.Response pauseScheduledReindex()
public javax.ws.rs.core.Response startScheduledReindex()
public javax.ws.rs.core.Response makeReindexRequest(ReindexRequestType type, List<String> sharedEntityTypes)
public boolean isIndexingRunning()
public boolean isIndexingStarted()
public boolean isIndexingProject(Long projectId)
public boolean isIndexingProjectStarted(Long projectId)
public boolean isIndexConsistent()
public boolean isIndexUpdatedFieldConsistent() throws SearchException
SearchException
public long clearPendingReindexRequests()
Copyright © 2002-2015 Atlassian. All Rights Reserved.