Class TransportStats

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

public class TransportStats extends Object implements Writeable, ToXContentFragment
  • Constructor Details

    • TransportStats

      public TransportStats(long serverOpen, long totalOutboundConnections, long rxCount, long rxSize, long txCount, long txSize, long[] inboundHandlingTimeBucketFrequencies, long[] outboundHandlingTimeBucketFrequencies)
    • 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()
    • totalOutboundConnections

      public long totalOutboundConnections()
    • getTotalOutboundConnections

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

      public long[] getInboundHandlingTimeBucketFrequencies()
    • getOutboundHandlingTimeBucketFrequencies

      public long[] getOutboundHandlingTimeBucketFrequencies()
    • toXContent

      public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface ToXContent
      Throws:
      IOException