public class SubscriptionStatsImpl extends Object implements SubscriptionStats
| Modifier and Type | Field and Description |
|---|---|
String |
activeConsumerName
The name of the consumer that is active for single active consumer subscriptions i.e.
|
boolean |
allowOutOfOrderDelivery
Whether out of order delivery is allowed on the Key_Shared subscription.
|
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 |
chunkedMessageRate
Chunked message dispatch rate.
|
List<ConsumerStatsImpl> |
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.
|
long |
earliestMsgPublishTimeInBacklog
Get the publish time of the earliest message in the backlog.
|
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.
|
String |
keySharedMode
Whether the Key_Shared subscription mode is AUTO_SPLIT or STICKY.
|
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 entries in the subscription backlog.
|
long |
msgBacklogNoDelayed
Number of entries 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.
|
Map<String,String> |
subscriptionProperties
SubscriptionProperties (key/value strings) associated with this subscribe.
|
long |
totalMsgExpired
Total messages expired on this subscription.
|
String |
type
Whether this subscription is Exclusive or Shared or Failover.
|
long |
unackedMessages
Number of unacknowledged messages for the subscription.
|
| Constructor and Description |
|---|
SubscriptionStatsImpl() |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionStatsImpl |
add(SubscriptionStatsImpl stats) |
void |
reset() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActiveConsumerName, getBacklogSize, getBytesOutCounter, getChunkedMessageRate, getConsumers, getConsumersAfterMarkDeletePosition, getEarliestMsgPublishTimeInBacklog, getKeySharedMode, getLastAckedTimestamp, getLastConsumedFlowTimestamp, getLastConsumedTimestamp, getLastExpireTimestamp, getLastMarkDeleteAdvancedTimestamp, getMsgBacklog, getMsgBacklogNoDelayed, getMsgDelayed, getMsgOutCounter, getMsgRateExpired, getMsgRateOut, getMsgRateRedeliver, getMsgThroughputOut, getNonContiguousDeletedMessagesRanges, getNonContiguousDeletedMessagesRangesSerializedSize, getSubscriptionProperties, getTotalMsgExpired, getType, getUnackedMessages, isAllowOutOfOrderDelivery, isBlockedSubscriptionOnUnackedMsgs, isDurable, isReplicatedpublic double msgRateOut
public double msgThroughputOut
public long bytesOutCounter
public long msgOutCounter
public double msgRateRedeliver
public int chunkedMessageRate
public long msgBacklog
public long backlogSize
public long earliestMsgPublishTimeInBacklog
public long msgBacklogNoDelayed
public boolean blockedSubscriptionOnUnackedMsgs
public long msgDelayed
public long unackedMessages
public String 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<ConsumerStatsImpl> consumers
public boolean isDurable
public boolean isReplicated
public boolean allowOutOfOrderDelivery
public String keySharedMode
public Map<String,String> consumersAfterMarkDeletePosition
public int nonContiguousDeletedMessagesRanges
public int nonContiguousDeletedMessagesRangesSerializedSize
public void reset()
public SubscriptionStatsImpl add(SubscriptionStatsImpl stats)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.