Package software.amazon.awssdk.crt.mqtt
Class MqttClientConnectionOperationStatistics
- java.lang.Object
-
- software.amazon.awssdk.crt.mqtt.MqttClientConnectionOperationStatistics
-
public class MqttClientConnectionOperationStatistics extends Object
Simple statistics about the current state of the connection's queue of operations
-
-
Constructor Summary
Constructors Constructor Description MqttClientConnectionOperationStatistics()
-
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.
-
-
-
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
-
-