Class ClusterStateSerializationStats

java.lang.Object
org.elasticsearch.cluster.coordination.ClusterStateSerializationStats
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class ClusterStateSerializationStats extends Object implements Writeable, org.elasticsearch.xcontent.ToXContentObject
  • Field Details

  • Constructor Details

    • ClusterStateSerializationStats

      public ClusterStateSerializationStats(long fullStateCount, long totalUncompressedFullStateBytes, long totalCompressedFullStateBytes, long diffCount, long totalUncompressedDiffBytes, long totalCompressedDiffBytes)
    • ClusterStateSerializationStats

      public ClusterStateSerializationStats(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • getFullStateCount

      public long getFullStateCount()
    • getTotalUncompressedFullStateBytes

      public long getTotalUncompressedFullStateBytes()
    • getTotalCompressedFullStateBytes

      public long getTotalCompressedFullStateBytes()
    • getDiffCount

      public long getDiffCount()
    • getTotalUncompressedDiffBytes

      public long getTotalUncompressedDiffBytes()
    • getTotalCompressedDiffBytes

      public long getTotalCompressedDiffBytes()
    • 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
    • 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