Class ClientStats.SubscriptionStats
java.lang.Object
org.mqtt4j.hato.ClientStats.SubscriptionStats
- Enclosing class:
ClientStats
The values of one subscription.
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the number of deliveries that a handler, an acceptor, or a receiver has processed, and whoseMqttDelivery.ack()has not been called yet.intReturns the subscription's buffer capacity.dropped()Returns lifetime counts of the subscription's deliveries that left it unprocessed, by reason.filter()Returns the subscription's filter.longrunning()Returns the number of deliveries that a handler or a hand-off acceptor is processing.Returns the subscription's handle.longwaiting()Returns the number of deliveries that wait for a handler, an acceptor, or a receiver.
-
Method Details
-
subscription
Returns the subscription's handle.- Returns:
- the subscription's handle
-
filter
-
waiting
public long waiting()Returns the number of deliveries that wait for a handler, an acceptor, or a receiver.- Returns:
- the number of deliveries that wait for a handler, an acceptor, or a receiver
-
running
public long running()Returns the number of deliveries that a handler or a hand-off acceptor is processing.- Returns:
- the number of deliveries that a handler or a hand-off acceptor is processing
-
awaitingAck
public long awaitingAck()Returns the number of deliveries that a handler, an acceptor, or a receiver has processed, and whoseMqttDelivery.ack()has not been called yet.- Returns:
- the number of deliveries that a handler, an acceptor, or a receiver has
processed, and whose
MqttDelivery.ack()has not been called yet
-
bufferCapacity
public int bufferCapacity()Returns the subscription's buffer capacity.- Returns:
- the subscription's buffer capacity
-
dropped
Returns lifetime counts of the subscription's deliveries that left it unprocessed, by reason.- Returns:
- lifetime counts of the subscription's deliveries that left it unprocessed, by reason
-