Package software.amazon.awssdk.crt.mqtt5
Class Mqtt5ClientOperationStatistics
- java.lang.Object
-
- software.amazon.awssdk.crt.mqtt5.Mqtt5ClientOperationStatistics
-
public class Mqtt5ClientOperationStatistics extends Object
Simple statistics about the current state of the client's queue of operations
-
-
Constructor Summary
Constructors Constructor Description Mqtt5ClientOperationStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getIncompleteOperationCount()
Returns the total number of operations submitted to the client that have not yet been completed.long
getIncompleteOperationSize()
Returns the total packet size of operations submitted to the client 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 client that have not yet been completed. Note: Unacked operations are a subset of this.- Returns:
- Total number of operations submitted to the client that have not yet been completed
-
getIncompleteOperationSize
public long getIncompleteOperationSize()
Returns the total packet size of operations submitted to the client that have not yet been completed. Note: Unacked operations are a subset of this.- Returns:
- Total packet size of operations submitted to the client 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
-
-