public class SubscriptionStats extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
activeConsumerName
The name of the consumer that is active for single active consumer subscriptions i.e.
|
long |
backlogSize
Size of backlog in byte.
|
boolean |
blockedSubscriptionOnUnackedMsgs
Flag to verify if subscription is blocked due to reaching threshold of unacked messages.
|
long |
bytesOutCounter
Total bytes delivered to consumer (bytes).
|
int |
chuckedMessageRate
Deprecated.
use
chunkedMessageRate) |
int |
chunkedMessageRate
Chunked message dispatch rate.
|
List<ConsumerStats> |
consumers
List of connected consumers on this subscription w/ their stats.
|
Map<String,String> |
consumersAfterMarkDeletePosition
This is for Key_Shared subscription to get the recentJoinedConsumers in the Key_Shared subscription.
|
boolean |
isDurable
Tells whether this subscription is durable or ephemeral (eg.: from a reader).
|
boolean |
isReplicated
Mark that the subscription state is kept in sync across different regions.
|
long |
lastAckedTimestamp
Last acked message timestamp.
|
long |
lastConsumedFlowTimestamp
Last received consume flow command timestamp.
|
long |
lastConsumedTimestamp
Last consume message timestamp.
|
long |
lastExpireTimestamp
Last message expire execution timestamp.
|
long |
lastMarkDeleteAdvancedTimestamp
Last MarkDelete position advanced timesetamp.
|
long |
msgBacklog
Number of messages in the subscription backlog.
|
long |
msgBacklogNoDelayed
Number of messages in the subscription backlog that do not contain the delay messages.
|
long |
msgDelayed
Number of delayed messages currently being tracked.
|
long |
msgOutCounter
Total messages delivered to consumer (msg).
|
double |
msgRateExpired
Total rate of messages expired on this subscription (msg/s).
|
double |
msgRateOut
Total rate of messages delivered on this subscription (msg/s).
|
double |
msgRateRedeliver
Total rate of messages redelivered on this subscription (msg/s).
|
double |
msgThroughputOut
Total throughput delivered on this subscription (bytes/s).
|
int |
nonContiguousDeletedMessagesRanges
The number of non-contiguous deleted messages ranges.
|
int |
nonContiguousDeletedMessagesRangesSerializedSize
The serialized size of non-contiguous deleted messages ranges.
|
long |
totalMsgExpired
Total messages expired on this subscription.
|
CommandSubscribe.SubType |
type
Whether this subscription is Exclusive or Shared or Failover.
|
long |
unackedMessages
Number of unacknowledged messages for the subscription.
|
| Constructor and Description |
|---|
SubscriptionStats() |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionStats |
add(SubscriptionStats stats) |
void |
reset() |
public double msgRateOut
public double msgThroughputOut
public long bytesOutCounter
public long msgOutCounter
public double msgRateRedeliver
@Deprecated public int chuckedMessageRate
chunkedMessageRate)public int chunkedMessageRate
public long msgBacklog
public long backlogSize
public long msgBacklogNoDelayed
public boolean blockedSubscriptionOnUnackedMsgs
public long msgDelayed
public long unackedMessages
public CommandSubscribe.SubType type
public String activeConsumerName
public double msgRateExpired
public long totalMsgExpired
public long lastExpireTimestamp
public long lastConsumedFlowTimestamp
public long lastConsumedTimestamp
public long lastAckedTimestamp
public long lastMarkDeleteAdvancedTimestamp
public List<ConsumerStats> consumers
public boolean isDurable
public boolean isReplicated
public Map<String,String> consumersAfterMarkDeletePosition
public int nonContiguousDeletedMessagesRanges
public int nonContiguousDeletedMessagesRangesSerializedSize
public void reset()
public SubscriptionStats add(SubscriptionStats stats)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.