Class ConnectionStatistics.Stats

All Implemented Interfaces:
Enclosing class:

public static class ConnectionStatistics.Stats extends Object implements Dumpable
  • Constructor Details

    • Stats

      public Stats(String name)
  • Method Details

    • reset

      public void reset()
    • getName

      public String getName()
    • getReceivedBytes

      public long getReceivedBytes()
    • getReceivedBytesRate

      public long getReceivedBytesRate()
    • getSentBytes

      public long getSentBytes()
    • getSentBytesRate

      public long getSentBytesRate()
    • getConnectionDurationMax

      public long getConnectionDurationMax()
    • getConnectionDurationMean

      public double getConnectionDurationMean()
    • getConnectionDurationStdDev

      public double getConnectionDurationStdDev()
    • getConnectionsTotal

      public long getConnectionsTotal()
    • getConnections

      public long getConnections()
    • getConnectionsMax

      public long getConnectionsMax()
    • getReceivedMessages

      public long getReceivedMessages()
    • getReceivedMessagesRate

      public long getReceivedMessagesRate()
    • getSentMessages

      public long getSentMessages()
    • getSentMessagesRate

      public long getSentMessagesRate()
    • incrementCount

      public void incrementCount()
    • decrementCount

      public void decrementCount()
    • recordDuration

      public void recordDuration(long duration)
    • recordBytesIn

      public void recordBytesIn(long bytesIn)
    • recordBytesOut

      public void recordBytesOut(long bytesOut)
    • recordMessagesIn

      public void recordMessagesIn(long messagesIn)
    • recordMessagesOut

      public void recordMessagesOut(long messagesOut)
    • dump

      public void dump(Appendable out, String indent) throws IOException
      Description copied from interface: Dumpable
      Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
      Specified by:
      dump in interface Dumpable
      out - The appendable to dump to
      indent - The indent to apply after any new lines.
      IOException - if unable to write to Appendable
    • toString

      public String toString()
      toString in class Object