Class MqttClientConnectionOperationStatistics


  • public class MqttClientConnectionOperationStatistics
    extends java.lang.Object
    Simple statistics about the current state of the connection's queue of operations
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getIncompleteOperationCount()
      Returns the total number of operations submitted to the connection that have not yet been completed.
      long getIncompleteOperationSize()
      Returns the total packet size of operations submitted to the connection that have not yet been completed.
      long getUnackedOperationCount()
      Returns the total number of operations that have been sent and are waiting for a corresponding ACK before they can be completed.
      long getUnackedOperationSize()
      Returns the total packet size of operations that have been sent and are waiting for a corresponding ACK before they can be completed.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MqttClientConnectionOperationStatistics

        public MqttClientConnectionOperationStatistics()
    • Method Detail

      • getIncompleteOperationCount

        public long getIncompleteOperationCount()
        Returns the total number of operations submitted to the connection that have not yet been completed. Note: Unacked operations are a subset of this.
        Returns:
        Total number of operations submitted to the connection that have not yet been completed
      • getIncompleteOperationSize

        public long getIncompleteOperationSize()
        Returns the total packet size of operations submitted to the connection that have not yet been completed. Note: Unacked operations are a subset of this.
        Returns:
        Total packet size of operations submitted to the connection that have not yet been completed
      • getUnackedOperationCount

        public long getUnackedOperationCount()
        Returns the total number of operations that have been sent and are waiting for a corresponding ACK before they can be completed.
        Returns:
        Total number of operations that have been sent and are waiting for a corresponding ACK
      • getUnackedOperationSize

        public long getUnackedOperationSize()
        Returns the total packet size of operations that have been sent and are waiting for a corresponding ACK before they can be completed.
        Returns:
        Total packet size of operations that have been sent and are waiting for a corresponding ACK