Package com.atlassian.jira.issue.index
Class ReindexAllCompletedEvent
java.lang.Object
com.atlassian.jira.issue.index.ReindexAllCompletedEvent
- All Implemented Interfaces:
IndexEvent
Raised when "reindex all" has completed.
This Class should not be constructed by consumers of the API.
- Since:
- v5.0
-
Constructor Summary
ConstructorsConstructorDescriptionReindexAllCompletedEvent(long startTime, long duration, boolean useBackgroundIndexing, boolean notifyCluster, IssueIndexingParams issueIndexingParams, Long issueCount, Long archivedIssueCount, long indexDirectorySize) -
Method Summary
Modifier and TypeMethodDescriptionlonglongGet the time when this re-index was started, in milliseconds since epochlongbooleanbooleanbooleanbooleanbooleanboolean
-
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
-
isIndexIssues
public boolean isIndexIssues() -
isIndexChangeHistory
public boolean isIndexChangeHistory() -
isIndexComments
public boolean isIndexComments() -
isIndexWorklogs
public boolean isIndexWorklogs() -
getIssueCount
-
getArchivedIssueCount
-
getIndexDirectorySize
public long getIndexDirectorySize()
-