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 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  getDataPath()
    • getStatePath

      public  getStatePath()
    • isCustomDataPath

      public boolean isCustomDataPath()
    • 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: