Class TransportStats

java.lang.Object
org.elasticsearch.transport.TransportStats
All Implemented Interfaces:
Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public class TransportStats extends Object implements Writeable, org.elasticsearch.common.xcontent.ToXContentFragment
  • Constructor Details

    • TransportStats

      public TransportStats(long serverOpen, long totalOutboundConnections, long rxCount, long rxSize, long txCount, long txSize)
    • TransportStats

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

    • 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
    • serverOpen

      public long serverOpen()
    • getServerOpen

      public long getServerOpen()
    • rxCount

      public long rxCount()
    • getRxCount

      public long getRxCount()
    • rxSize

      public ByteSizeValue rxSize()
    • getRxSize

      public ByteSizeValue getRxSize()
    • txCount

      public long txCount()
    • getTxCount

      public long getTxCount()
    • txSize

      public ByteSizeValue txSize()
    • getTxSize

      public ByteSizeValue getTxSize()
    • 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