Class TransportStats

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

public class TransportStats extends Object implements Writeable, org.elasticsearch.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.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