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

    Constructors
    Constructor
    Description
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    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.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an instance of IssueIndexSummary that represents a not readable issue index.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 readable
      countInDatabase - number of issues in database
      countInIndex - number of issues indexed
      countInArchive - number of archived issues
      lastUpdatedInDatabase - last issue update time in database
      lastUpdatedInIndex - last issue update time in index
  • Method Details

    • notReadable

      public static IssueIndexSummary notReadable()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns an instance of IssueIndexSummary 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 returns false 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

      public Instant 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

      public Instant 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