Class ClusterIndexHealth

org.elasticsearch.cluster.health.ClusterIndexHealth
All Implemented Interfaces:
<ClusterShardHealth>, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public final class ClusterIndexHealth extends implements <ClusterShardHealth>, Writeable, org.elasticsearch.common.xcontent.ToXContentFragment
  • Field Details

    • SHARD_PARSER

      public static final org.elasticsearch.common.xcontent.ObjectParser.NamedObjectParser<> SHARD_PARSER
  • Constructor Details

  • Method Details

    • getIndex

      public  getIndex()
    • getNumberOfShards

      public int getNumberOfShards()
    • getNumberOfReplicas

      public int getNumberOfReplicas()
    • getActiveShards

      public int getActiveShards()
    • getRelocatingShards

      public int getRelocatingShards()
    • getActivePrimaryShards

      public int getActivePrimaryShards()
    • getInitializingShards

      public int getInitializingShards()
    • getUnassignedShards

      public int getUnassignedShards()
    • getStatus

      public ClusterHealthStatus getStatus()
    • getShards

      public <,​ClusterShardHealth> getShards()
    • iterator

      public <ClusterShardHealth> iterator()
      Specified by:
       in interface <ClusterShardHealth>
    • writeTo

      public void writeTo(StreamOutput out) throws
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
    • innerFromXContent

      public static ClusterIndexHealth innerFromXContent(org.elasticsearch.common.xcontent.XContentParser parser,  index)
    • fromXContent

      public static ClusterIndexHealth fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws
      Throws:
    • toString

      public  toString()
      Overrides:
       in class 
    • equals

      public boolean equals( o)
      Overrides:
       in class 
    • hashCode

      public int hashCode()
      Overrides:
       in class