Class MockIssueIndexer

java.lang.Object
com.atlassian.jira.mock.issue.index.MockIssueIndexer
All Implemented Interfaces:
BackupContributor, IssueIndexer, UnmanagedIndexSearcherProvider

@ThreadSafe public class MockIssueIndexer extends Object implements IssueIndexer
Mock issue indexer that records calls indexing methods for verification.
Since:
v4.3
  • Field Details

    • indexWorkTime

      public final int indexWorkTime
    • optimizationWorkTime

      public final int optimizationWorkTime
    • indexedIssues

      public final Collection<Issue> indexedIssues
    • reIndexedIssues

      public final Collection<Issue> reIndexedIssues
    • optimizations

      public final AtomicInteger optimizations
  • Constructor Details

    • MockIssueIndexer

      public MockIssueIndexer()
    • MockIssueIndexer

      public MockIssueIndexer(int indexSleepTime, int optimizationSleepTime)
  • Method Details