Class ConnectionStatistics.Stats

  • All Implemented Interfaces:
    Dumpable
    Enclosing class:
    ConnectionStatistics

    @Deprecated(since="2021-05-27")
    public static class ConnectionStatistics.Stats
    extends java.lang.Object
    implements Dumpable
    Deprecated.
    • Constructor Detail

      • Stats

        public Stats​(java.lang.String name)
        Deprecated.
    • Method Detail

      • reset

        public void reset()
        Deprecated.
      • getName

        public java.lang.String getName()
        Deprecated.
      • getReceivedBytes

        public long getReceivedBytes()
        Deprecated.
      • getReceivedBytesRate

        public long getReceivedBytesRate()
        Deprecated.
      • getSentBytes

        public long getSentBytes()
        Deprecated.
      • getSentBytesRate

        public long getSentBytesRate()
        Deprecated.
      • getConnectionDurationMax

        public long getConnectionDurationMax()
        Deprecated.
      • getConnectionDurationMean

        public double getConnectionDurationMean()
        Deprecated.
      • getConnectionDurationStdDev

        public double getConnectionDurationStdDev()
        Deprecated.
      • getConnectionsTotal

        public long getConnectionsTotal()
        Deprecated.
      • getConnections

        public long getConnections()
        Deprecated.
      • getConnectionsMax

        public long getConnectionsMax()
        Deprecated.
      • getReceivedMessages

        public long getReceivedMessages()
        Deprecated.
      • getReceivedMessagesRate

        public long getReceivedMessagesRate()
        Deprecated.
      • getSentMessages

        public long getSentMessages()
        Deprecated.
      • getSentMessagesRate

        public long getSentMessagesRate()
        Deprecated.
      • incrementCount

        public void incrementCount()
        Deprecated.
      • decrementCount

        public void decrementCount()
        Deprecated.
      • recordDuration

        public void recordDuration​(long duration)
        Deprecated.
      • recordBytesIn

        public void recordBytesIn​(long bytesIn)
        Deprecated.
      • recordBytesOut

        public void recordBytesOut​(long bytesOut)
        Deprecated.
      • recordMessagesIn

        public void recordMessagesIn​(long messagesIn)
        Deprecated.
      • recordMessagesOut

        public void recordMessagesOut​(long messagesOut)
        Deprecated.
      • dump

        public void dump​(java.lang.Appendable out,
                         java.lang.String indent)
                  throws java.io.IOException
        Deprecated.
        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
        Parameters:
        out - The appendable to dump to
        indent - The indent to apply after any new lines.
        Throws:
        java.io.IOException - if unable to write to Appendable
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object