Package com.tnsai.communication
Interface MessageAcknowledger.AckStatistics
- Enclosing interface:
MessageAcknowledger
public static interface MessageAcknowledger.AckStatistics
Statistics about acknowledgment operations.
-
Method Summary
Modifier and TypeMethodDescriptionAverage acknowledgment latency.intCurrent pending acknowledgments count.longTotal positive acknowledgments received.longTotal negative acknowledgments received.longTotal messages sent with ack requirement.longTotal acknowledgments that timed out.
-
Method Details
-
getTotalSent
long getTotalSent()Total messages sent with ack requirement. -
getTotalAcknowledged
long getTotalAcknowledged()Total positive acknowledgments received. -
getTotalNegativeAcks
long getTotalNegativeAcks()Total negative acknowledgments received. -
getTotalTimeouts
long getTotalTimeouts()Total acknowledgments that timed out. -
getAverageLatency
Duration getAverageLatency()Average acknowledgment latency. -
getPendingCount
int getPendingCount()Current pending acknowledgments count.
-