Interface SubscriptionStats
-
- All Known Subinterfaces:
NonPersistentSubscriptionStats
public interface SubscriptionStatsStatistics about subscription.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetActiveConsumerName()The name of the consumer that is active for single active consumer subscriptions i.e.longgetBacklogSize()Size of backlog in byte.longgetBytesOutCounter()Total bytes delivered to consumer (bytes).intgetChunkedMessageRate()Chunked message dispatch rate.java.util.List<? extends ConsumerStats>getConsumers()List of connected consumers on this subscription w/ their stats.java.util.Map<java.lang.String,java.lang.String>getConsumersAfterMarkDeletePosition()This is for Key_Shared subscription to get the recentJoinedConsumers in the Key_Shared subscription.longgetLastAckedTimestamp()Last acked message timestamp.longgetLastConsumedFlowTimestamp()Last received consume flow command timestamp.longgetLastConsumedTimestamp()Last consume message timestamp.longgetLastExpireTimestamp()Last message expire execution timestamp.longgetLastMarkDeleteAdvancedTimestamp()Last MarkDelete position advanced timesetamp.longgetMsgBacklog()Number of messages in the subscription backlog.longgetMsgBacklogNoDelayed()Number of messages in the subscription backlog that do not contain the delay messages.longgetMsgDelayed()Number of delayed messages currently being tracked.longgetMsgOutCounter()Total messages delivered to consumer (msg).doublegetMsgRateExpired()Total rate of messages expired on this subscription (msg/s).doublegetMsgRateOut()Total rate of messages delivered on this subscription (msg/s).doublegetMsgRateRedeliver()Total rate of messages redelivered on this subscription (msg/s).doublegetMsgThroughputOut()Total throughput delivered on this subscription (bytes/s).intgetNonContiguousDeletedMessagesRanges()The number of non-contiguous deleted messages ranges.intgetNonContiguousDeletedMessagesRangesSerializedSize()The serialized size of non-contiguous deleted messages ranges.longgetTotalMsgExpired()Total messages expired on this subscription.java.lang.StringgetType()Whether this subscription is Exclusive or Shared or Failover.longgetUnackedMessages()Number of unacknowledged messages for the subscription.booleanisBlockedSubscriptionOnUnackedMsgs()Flag to verify if subscription is blocked due to reaching threshold of unacked messages.booleanisDurable()Tells whether this subscription is durable or ephemeral (eg.: from a reader).booleanisReplicated()Mark that the subscription state is kept in sync across different regions.
-
-
-
Method Detail
-
getMsgRateOut
double getMsgRateOut()
Total rate of messages delivered on this subscription (msg/s).
-
getMsgThroughputOut
double getMsgThroughputOut()
Total throughput delivered on this subscription (bytes/s).
-
getBytesOutCounter
long getBytesOutCounter()
Total bytes delivered to consumer (bytes).
-
getMsgOutCounter
long getMsgOutCounter()
Total messages delivered to consumer (msg).
-
getMsgRateRedeliver
double getMsgRateRedeliver()
Total rate of messages redelivered on this subscription (msg/s).
-
getChunkedMessageRate
int getChunkedMessageRate()
Chunked message dispatch rate.
-
getMsgBacklog
long getMsgBacklog()
Number of messages in the subscription backlog.
-
getBacklogSize
long getBacklogSize()
Size of backlog in byte.
-
getMsgBacklogNoDelayed
long getMsgBacklogNoDelayed()
Number of messages in the subscription backlog that do not contain the delay messages.
-
isBlockedSubscriptionOnUnackedMsgs
boolean isBlockedSubscriptionOnUnackedMsgs()
Flag to verify if subscription is blocked due to reaching threshold of unacked messages.
-
getMsgDelayed
long getMsgDelayed()
Number of delayed messages currently being tracked.
-
getUnackedMessages
long getUnackedMessages()
Number of unacknowledged messages for the subscription.
-
getType
java.lang.String getType()
Whether this subscription is Exclusive or Shared or Failover.
-
getActiveConsumerName
java.lang.String getActiveConsumerName()
The name of the consumer that is active for single active consumer subscriptions i.e. failover or exclusive.
-
getMsgRateExpired
double getMsgRateExpired()
Total rate of messages expired on this subscription (msg/s).
-
getTotalMsgExpired
long getTotalMsgExpired()
Total messages expired on this subscription.
-
getLastExpireTimestamp
long getLastExpireTimestamp()
Last message expire execution timestamp.
-
getLastConsumedFlowTimestamp
long getLastConsumedFlowTimestamp()
Last received consume flow command timestamp.
-
getLastConsumedTimestamp
long getLastConsumedTimestamp()
Last consume message timestamp.
-
getLastAckedTimestamp
long getLastAckedTimestamp()
Last acked message timestamp.
-
getLastMarkDeleteAdvancedTimestamp
long getLastMarkDeleteAdvancedTimestamp()
Last MarkDelete position advanced timesetamp.
-
getConsumers
java.util.List<? extends ConsumerStats> getConsumers()
List of connected consumers on this subscription w/ their stats.
-
isDurable
boolean isDurable()
Tells whether this subscription is durable or ephemeral (eg.: from a reader).
-
isReplicated
boolean isReplicated()
Mark that the subscription state is kept in sync across different regions.
-
getConsumersAfterMarkDeletePosition
java.util.Map<java.lang.String,java.lang.String> getConsumersAfterMarkDeletePosition()
This is for Key_Shared subscription to get the recentJoinedConsumers in the Key_Shared subscription.
-
getNonContiguousDeletedMessagesRanges
int getNonContiguousDeletedMessagesRanges()
The number of non-contiguous deleted messages ranges.
-
getNonContiguousDeletedMessagesRangesSerializedSize
int getNonContiguousDeletedMessagesRangesSerializedSize()
The serialized size of non-contiguous deleted messages ranges.
-
-