@ExperimentalApi public class IssueIndexSummary extends Object
isIndexReadable()
returns false
other fields are not valid.Constructor and Description |
---|
IssueIndexSummary(boolean indexReadable,
long countInDatabase,
long countInIndex,
long countInArchive,
java.time.Instant lastUpdatedInDatabase,
java.time.Instant lastUpdatedInIndex)
Constructor with all object fields.
|
Modifier and Type | Method and Description |
---|---|
long |
getCountInArchive()
Returns the number of archived issues.
|
long |
getCountInDatabase()
Returns the number of issues found in the database.
|
long |
getCountInIndex()
Returns the number of issues found in the index.
|
java.time.Instant |
getLastUpdatedInDatabase()
Returns the update time of the last updated issue found in the database.
|
java.time.Instant |
getLastUpdatedInIndex()
Returns the update time of the last updated issue found in the index.
|
boolean |
isIndexReadable()
Was issue index readable.
|
static IssueIndexSummary |
notReadable()
Returns an instance of
IssueIndexSummary that represents a not readable issue index. |
public IssueIndexSummary(boolean indexReadable, long countInDatabase, long countInIndex, long countInArchive, java.time.Instant lastUpdatedInDatabase, java.time.Instant lastUpdatedInIndex)
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 indexpublic static IssueIndexSummary notReadable()
IssueIndexSummary
that represents a not readable issue index.public boolean isIndexReadable()
false
other fields of this object are not valid.true
if issue index is readable, false
otherwisepublic long getCountInDatabase()
public long getCountInIndex()
public long getCountInArchive()
public java.time.Instant getLastUpdatedInDatabase()
public java.time.Instant getLastUpdatedInIndex()
Copyright © 2002-2021 Atlassian. All Rights Reserved.
View cookie preferences