public class IndexingControl extends BackdoorControl<IndexingControl>
Modifier and Type | Class and Description |
---|---|
class |
IndexingControl.IndexingProgress |
Constructor and Description |
---|
IndexingControl(JIRAEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
Long |
clearPendingReindexRequests() |
void |
deindex(String issueKey) |
void |
deleteIndex() |
IndexingControl.IndexingProgress |
getInBackgroundProgress() |
Boolean |
getIndexingTaskProgress(String taskId) |
IndexingControl.IndexingProgress |
getProjectIndexingProgress(Long projectId) |
void |
indexDummyIssue(long id,
long projectId,
String issueType,
String issueKey,
String summary,
String desc) |
boolean |
isIndexConsistent() |
boolean |
isIndexUpdatedFieldConsistent() |
Long |
makeReindexRequest(ReindexRequestType type,
String query,
SharedEntityType... sharedEntityTypes) |
void |
pauseScheduledReindex()
Pause the scheduled reindex
|
void |
reindexAll() |
IndexingControl.IndexingProgress |
startInBackground() |
IndexingControl.IndexingProgress |
startInBackground(IssueIndexingParams issueIndexingParams) |
void |
startScheduledReindex()
Start the scheduled reindex
|
IndexingControl.IndexingProgress |
startStopTheWorldReIndex()
Initiate a stop-the-world foreground re-index
|
createResource
createResourceForPath, createResourceForPath, get, getRestModulePath
anonymous, cleanUp, client, createResourceGadget, createResourceInternal, errorResponse, expanded, getEnvironmentData, loginAs, loginAs, percentEncode, registerResponse, resourceRoot, setOf, toResponse, toResponse, toResponse
public IndexingControl(JIRAEnvironmentData environmentData)
@Nonnull public IndexingControl.IndexingProgress startInBackground()
@Nonnull public IndexingControl.IndexingProgress startInBackground(IssueIndexingParams issueIndexingParams)
@Nonnull public IndexingControl.IndexingProgress startStopTheWorldReIndex()
@Nonnull public IndexingControl.IndexingProgress getInBackgroundProgress()
@Nonnull public IndexingControl.IndexingProgress getProjectIndexingProgress(Long projectId)
public boolean isIndexConsistent()
public boolean isIndexUpdatedFieldConsistent()
public void deleteIndex()
public void deindex(String issueKey)
public void indexDummyIssue(long id, long projectId, String issueType, String issueKey, String summary, String desc)
public void reindexAll()
public Long makeReindexRequest(ReindexRequestType type, String query, SharedEntityType... sharedEntityTypes)
public Long clearPendingReindexRequests()
public void pauseScheduledReindex()
public void startScheduledReindex()
Copyright © 2002-2015 Atlassian. All Rights Reserved.