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

      public String getStatePath()
    • isCustomDataPath

      public boolean isCustomDataPath()
    • writeTo

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

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