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

public class ShardStats extends Object implements Writeable, org.elasticsearch.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.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException