Class ReindexAllCompletedEvent

java.lang.Object
com.atlassian.jira.issue.index.ReindexAllCompletedEvent
All Implemented Interfaces:
IndexEvent

@PublicApi public class ReindexAllCompletedEvent extends Object implements IndexEvent
Raised when "reindex all" has completed.

This Class should not be constructed by consumers of the API.

Since:
v5.0
  • Constructor Details

    • ReindexAllCompletedEvent

      @Internal public ReindexAllCompletedEvent(long startTime, long duration, boolean useBackgroundIndexing, boolean notifyCluster, IssueIndexingParams issueIndexingParams, Long issueCount, Long archivedIssueCount, long indexDirectorySize)
  • Method Details

    • getIndexStartTime

      public long getIndexStartTime()
      Get the time when this re-index was started, in milliseconds since epoch
      Returns:
      the start time
    • getTotalTime

      public long getTotalTime()
    • isUsingBackgroundIndexing

      public boolean isUsingBackgroundIndexing()
    • shouldNotifyCluster

      public boolean shouldNotifyCluster()
    • getIssueIndexingParams

      public IssueIndexingParams getIssueIndexingParams()
    • isIndexIssues

      public boolean isIndexIssues()
    • isIndexChangeHistory

      public boolean isIndexChangeHistory()
    • isIndexComments

      public boolean isIndexComments()
    • isIndexWorklogs

      public boolean isIndexWorklogs()
    • getIssueCount

      public Long getIssueCount()
    • getArchivedIssueCount

      public Long getArchivedIssueCount()
    • getIndexDirectorySize

      public long getIndexDirectorySize()