Class IndexUpgradeStatus

java.lang.Object
org.elasticsearch.action.admin.indices.upgrade.get.IndexUpgradeStatus
All Implemented Interfaces:
java.lang.Iterable<IndexShardUpgradeStatus>

public class IndexUpgradeStatus
extends java.lang.Object
implements java.lang.Iterable<IndexShardUpgradeStatus>
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getIndex()  
    java.util.Map<java.lang.Integer,​IndexShardUpgradeStatus> getShards()
    A shard id to index shard upgrade status map (note, index shard upgrade status is the replication shard group that maps to the shard id).
    long getTotalBytes()  
    long getToUpgradeBytes()  
    long getToUpgradeBytesAncient()  
    java.util.Iterator<IndexShardUpgradeStatus> iterator()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Method Details

    • getIndex

      public java.lang.String getIndex()
    • getShards

      public java.util.Map<java.lang.Integer,​IndexShardUpgradeStatus> getShards()
      A shard id to index shard upgrade status map (note, index shard upgrade status is the replication shard group that maps to the shard id).
    • iterator

      public java.util.Iterator<IndexShardUpgradeStatus> iterator()
      Specified by:
      iterator in interface java.lang.Iterable<IndexShardUpgradeStatus>
    • getTotalBytes

      public long getTotalBytes()
    • getToUpgradeBytes

      public long getToUpgradeBytes()
    • getToUpgradeBytesAncient

      public long getToUpgradeBytesAncient()