Package software.amazon.awssdk.crt.mqtt5
Class Mqtt5ClientOperationStatistics
java.lang.Object
software.amazon.awssdk.crt.mqtt5.Mqtt5ClientOperationStatistics
Simple statistics about the current state of the client's queue of operations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the total number of operations submitted to the client that have not yet been completed.longReturns the total packet size of operations submitted to the client 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
-
Mqtt5ClientOperationStatistics
public Mqtt5ClientOperationStatistics()
-
-
Method Details
-
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
-