Package com.atlassian.jira.index.summary
Class IssueIndexSummary
java.lang.Object
com.atlassian.jira.index.summary.IssueIndexSummary
@ExperimentalApi
@Deprecated(since="11.0",
forRemoval=true)
public class IssueIndexSummary
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Summary for the issue index, which contains data needed to diagnose the issue indexing status.
If
isIndexReadable()
returns false
other fields are not valid.- Since:
- v7.2.10
-
Constructor Summary
ConstructorsConstructorDescriptionIssueIndexSummary
(boolean indexReadable, long countInDatabase, long countInIndex, long countInArchive, Instant lastUpdatedInDatabase, Instant lastUpdatedInIndex) Deprecated, for removal: This API element is subject to removal in a future version.Constructor with all object fields. -
Method Summary
Modifier and TypeMethodDescriptionlong
Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of archived issues.long
Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of issues found in the database.long
Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of issues found in the index.Deprecated, for removal: This API element is subject to removal in a future version.Returns the update time of the last updated issue found in the database.Deprecated, for removal: This API element is subject to removal in a future version.Returns the update time of the last updated issue found in the index.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Was issue index readable.static IssueIndexSummary
Deprecated, for removal: This API element is subject to removal in a future version.Returns an instance ofIssueIndexSummary
that represents a not readable issue index.
-
Constructor Details
-
IssueIndexSummary
public IssueIndexSummary(boolean indexReadable, long countInDatabase, long countInIndex, long countInArchive, Instant lastUpdatedInDatabase, Instant lastUpdatedInIndex) Deprecated, for removal: This API element is subject to removal in a future version.Constructor with all object fields.- Parameters:
indexReadable
- is issue index readablecountInDatabase
- number of issues in databasecountInIndex
- number of issues indexedcountInArchive
- number of archived issueslastUpdatedInDatabase
- last issue update time in databaselastUpdatedInIndex
- last issue update time in index
-
-
Method Details
-
notReadable
Deprecated, for removal: This API element is subject to removal in a future version.Returns an instance ofIssueIndexSummary
that represents a not readable issue index.- Returns:
- summary of not readable issue index
-
isIndexReadable
public boolean isIndexReadable()Deprecated, for removal: This API element is subject to removal in a future version.Was issue index readable. When this returnsfalse
other fields of this object are not valid.- Returns:
true
if issue index is readable,false
otherwise
-
getCountInDatabase
public long getCountInDatabase()Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of issues found in the database.- Returns:
- number of issues in database
-
getCountInIndex
public long getCountInIndex()Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of issues found in the index.- Returns:
- number of issues in index
-
getCountInArchive
public long getCountInArchive()Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of archived issues.- Returns:
- number of archived issues
-
getLastUpdatedInDatabase
Deprecated, for removal: This API element is subject to removal in a future version.Returns the update time of the last updated issue found in the database.- Returns:
- last issue update time in database
-
getLastUpdatedInIndex
Deprecated, for removal: This API element is subject to removal in a future version.Returns the update time of the last updated issue found in the index.- Returns:
- last issue update time in index
-