Package com.atlassian.jira.issue.index
Class DefaultIssueIndexConsistencyAwaiter
java.lang.Object
com.atlassian.jira.issue.index.DefaultIssueIndexConsistencyAwaiter
- All Implemented Interfaces:
IssueIndexConsistencyAwaiter
public class DefaultIssueIndexConsistencyAwaiter
extends Object
implements IssueIndexConsistencyAwaiter
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultIssueIndexConsistencyAwaiter(IndexAccessorRegistry indexAccessorRegistry) -
Method Summary
Modifier and TypeMethodDescriptionvoidwaitForIndexConsistency(long issueId, Date lastUpdated) Poll the index for the provided issue ID until its updated date is equal or later than the provided date.
-
Constructor Details
-
DefaultIssueIndexConsistencyAwaiter
-
-
Method Details
-
waitForIndexConsistency
Description copied from interface:IssueIndexConsistencyAwaiterPoll the index for the provided issue ID until its updated date is equal or later than the provided date.- Specified by:
waitForIndexConsistencyin interfaceIssueIndexConsistencyAwaiter- Throws:
TimeoutException- if the index remains inconsistent after enough time has elapsed
-