Interface SubscriptionStats

    • 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.