java.lang.Object | |
↳ | com.atlassian.jira.index.request.DefaultReindexRequestManager |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clear any pending requests.
| |||||||||||
Finds any active or running requests from inactive nodes in the cluster and transitions them
to failed.
| |||||||||||
Finds any active or running requests from the specified node in the cluster and transitions them to failed.
| |||||||||||
Retrieves all
pending reindex requests, in order
from oldest to newest. | |||||||||||
Retrieves the progress of some requests.
| |||||||||||
Checks if any ReindexRequests are waiting to be processed.
| |||||||||||
Checks if any ReindexRequests of any type are waiting to be processed.
| |||||||||||
Process any outstanding reindex requests.
| |||||||||||
Requests a reindex.
| |||||||||||
Transitions the status of reindex requests.
| |||||||||||
Transitions the status of a reindex request.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Clear any pending requests.
Finds any active or running requests from inactive nodes in the cluster and transitions them to failed. Use this to clean up any tasks from nodes that were running on nodes that were killed.
Finds any active or running requests from the specified node in the cluster and transitions them to failed.
nodeId | the ID of the cluster node, or null if not clustered. |
---|
Retrieves all pending
reindex requests, in order
from oldest to newest.
reindexRequestTypes | Types of requests to check for. |
---|
Retrieves the progress of some requests.
requestIds | the set of reindex request IDs to look up. |
---|
Checks if any ReindexRequests are waiting to be processed.
reindexRequestTypes | Types of requests to check for. |
---|
Checks if any ReindexRequests of any type are waiting to be processed.
Process any outstanding reindex requests.
waitForCompletion | If true this method will not return until the reindexing is complete, otherwise it will return when the reindex task is submitted, |
---|---|
reindexRequestTypes | Types of requests to process either ReindexRequestType |
runInBackground | If true the reindex should be a background reindex otherwise a foreground stop the world reindex |
Requests a reindex.
type | whether reindex is immediate or delayed. |
---|---|
affectedIndexes | the indexes to regenerate. |
entityTypes | the entity types whose indexes are to be regenerated. |
Transitions the status of reindex requests.
requests | the requests. |
---|---|
newStatus | the new status to transition to. |
Transitions the status of a reindex request.
request | the request. |
---|---|
newStatus | the new status to transition to. |
InterruptedException |
---|