java.lang.Object
org.elasticsearch.action.admin.indices.stats.ShardStats
All Implemented Interfaces:
Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public class ShardStats
extends java.lang.Object
implements Writeable, org.elasticsearch.common.xcontent.ToXContentFragment
  • Constructor Details

  • Method Details

    • getRetentionLeaseStats

      public RetentionLeaseStats getRetentionLeaseStats()
      Gets the current retention lease stats.
      Returns:
      the current retention lease stats
    • getShardRouting

      public ShardRouting getShardRouting()
      The shard routing information (cluster wide shard state).
    • getStats

      public CommonStats getStats()
    • getCommitStats

      @Nullable public CommitStats getCommitStats()
    • getSeqNoStats

      @Nullable public SeqNoStats getSeqNoStats()
    • getDataPath

      public java.lang.String getDataPath()
    • getStatePath

      public java.lang.String getStatePath()
    • isCustomDataPath

      public boolean isCustomDataPath()
    • writeTo

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

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException