Package software.amazon.awssdk.crt.mqtt
Class MqttClientConnectionOperationStatistics
java.lang.Object
software.amazon.awssdk.crt.mqtt.MqttClientConnectionOperationStatistics
Simple statistics about the current state of the connection's queue of operations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the total number of operations submitted to the connection that have not yet been completed.longReturns the total packet size of operations submitted to the connection that have not yet been completed.longReturns the total number of operations that have been sent and are waiting for a corresponding ACK before they can be completed.longReturns the total packet size of operations that have been sent and are waiting for a corresponding ACK before they can be completed.
-
Constructor Details
-
MqttClientConnectionOperationStatistics
public MqttClientConnectionOperationStatistics()
-
-
Method Details
-
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
-