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,
IndexPathManager indexPathManager,
UserManager userManager,
ReindexRequestManager reindexRequestManager,
ClusterManager clusterManager,
ProjectReindexService projectReindexService) |
Modifier and Type | Method and Description |
---|---|
long |
clearPendingReindexRequests() |
boolean |
deindex(String key) |
void |
deleteIndex() |
void |
deleteIndexDirectory(boolean issues,
boolean comments,
boolean worklogs,
boolean history) |
long |
getIndexingProgress(Long projectId) |
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 |
reindexProject(String projectId) |
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, IndexPathManager indexPathManager, UserManager userManager, ReindexRequestManager reindexRequestManager, ClusterManager clusterManager, ProjectReindexService projectReindexService)
public Long triggerBackgroundIndexing(boolean reindexComments, boolean reindexChangeHistory, boolean reindexWorklog, boolean reindexIssues)
public void triggerStopTheWorldIndexing()
public void deleteIndex()
public void deleteIndexDirectory(boolean issues, boolean comments, boolean worklogs, boolean history)
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 reindexProject(String projectId)
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 long getIndexingProgress(Long projectId)
public boolean isIndexingProjectStarted(Long projectId)
public boolean isIndexConsistent()
public boolean isIndexUpdatedFieldConsistent() throws SearchException
SearchException
public long clearPendingReindexRequests()
Copyright © 2002-2019 Atlassian. All Rights Reserved.