Package com.atlassian.jira.index.summary
Interface IndexSummarizer
- All Known Implementing Classes:
AuthorizingIndexSummarizer,DefaultIndexSummarizer
public interface IndexSummarizer
A component responsible for collecting the summary information about the JIRA index.
The returned summaries are node-specific, and relate to the node with the ID returned by
ClusterInfo.getNodeId().- Since:
- v7.2.10
-
Method Summary
Modifier and TypeMethodDescriptionSummarizes external platform's index replay statistics for all the nodes.Summarizes replication queues from all other nodes to the current node.Summarizes the issue index by providing various data about the current node's index.
-
Method Details
-
summarizeIssueIndex
ServiceOutcome<IssueIndexSummary> summarizeIssueIndex()Summarizes the issue index by providing various data about the current node's index.- Returns:
- issue index summary or error(s)
-
summarizeIndexReplicationQueues
ServiceOutcome<Map<String,IndexReplicationQueueSummary>> summarizeIndexReplicationQueues()Summarizes replication queues from all other nodes to the current node. Returned value maps sender node IDs toIndexReplicationQueueSummaryobjects.- Returns:
- map of all visible index replication queues or error(s)
-
summarizeExternalPlatformIndexReplay
ServiceOutcome<Map<String,IndexReplicationQueueSummary>> summarizeExternalPlatformIndexReplay()Summarizes external platform's index replay statistics for all the nodes.- Returns:
- external platform's index replay summary or error(s)
-