Class ClusterStateSerializationStats

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

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