类 SubscriptionStatsImpl
java.lang.Object
org.apache.pulsar.common.policies.data.stats.SubscriptionStatsImpl
- 所有已实现的接口:
SubscriptionStats
Statistics about subscription.
-
字段概要
字段修饰符和类型字段说明The name of the consumer that is active for single active consumer subscriptions i.e. failover or exclusive.booleanWhether out of order delivery is allowed on the Key_Shared subscription.longSize of backlog in byte, -1 means that the argument "subscriptionBacklogSize" is false when calling the API.booleanFlag to verify if subscription is blocked due to reaching threshold of unacked messages.longTotal bytes delivered to consumer (bytes).doubleChunked message dispatch rate.List of connected consumers on this subscription w/ their stats.This is for Key_Shared subscription to get the recentJoinedConsumers in the Key_Shared subscription.longThe size of DelayedDeliveryTracer memory usage.longGet the publish time of the earliest message in the backlog.longlonglonglongbooleanTells whether this subscription is durable or ephemeral (eg.: from a reader).booleanMark that the subscription state is kept in sync across different regions.Whether the Key_Shared subscription mode is AUTO_SPLIT or STICKY.longLast acked message timestamp.longLast received consume flow command timestamp.longLast consume message timestamp.longLast message expire execution timestamp.longLast MarkDelete position advanced timestamp.doubleTotal rate of message ack(msg/s).longNumber of entries in the subscription backlog.longNumber of entries in the subscription backlog that do not contain the delay messages.longNumber of delayed messages currently being tracked.longTotal messages delivered to consumer (msg).doubleTotal rate of messages expired on this subscription (msg/s).doubleTotal rate of messages delivered on this subscription (msg/s).doubleTotal rate of messages redelivered on this subscription (msg/s).doubleTotal throughput delivered on this subscription (bytes/s).intThe number of non-contiguous deleted messages ranges.intThe serialized size of non-contiguous deleted messages ranges.SubscriptionProperties (key/value strings) associated with this subscribe.longTotal messages expired on this subscription.The subscription type as defined bySubscriptionType.longNumber of unacknowledged messages for the subscription, where an unacknowledged message is one that has been sent to a consumer but not yet acknowledged. -
构造器概要
构造器 -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.apache.pulsar.common.policies.data.SubscriptionStats
getActiveConsumerName, getBacklogSize, getBytesOutCounter, getChunkedMessageRate, getConsumers, getConsumersAfterMarkDeletePosition, getDelayedMessageIndexSizeInBytes, getEarliestMsgPublishTimeInBacklog, getFilterAcceptedMsgCount, getFilterProcessedMsgCount, getFilterRejectedMsgCount, getFilterRescheduledMsgCount, getKeySharedMode, getLastAckedTimestamp, getLastConsumedFlowTimestamp, getLastConsumedTimestamp, getLastExpireTimestamp, getLastMarkDeleteAdvancedTimestamp, getMessageAckRate, getMsgBacklog, getMsgBacklogNoDelayed, getMsgDelayed, getMsgOutCounter, getMsgRateExpired, getMsgRateOut, getMsgRateRedeliver, getMsgThroughputOut, getNonContiguousDeletedMessagesRanges, getNonContiguousDeletedMessagesRangesSerializedSize, getSubscriptionProperties, getTotalMsgExpired, getType, getUnackedMessages, isAllowOutOfOrderDelivery, isBlockedSubscriptionOnUnackedMsgs, isDurable, isReplicated
-
字段详细资料
-
msgRateOut
public double msgRateOutTotal rate of messages delivered on this subscription (msg/s). -
msgThroughputOut
public double msgThroughputOutTotal throughput delivered on this subscription (bytes/s). -
bytesOutCounter
public long bytesOutCounterTotal bytes delivered to consumer (bytes). -
msgOutCounter
public long msgOutCounterTotal messages delivered to consumer (msg). -
msgRateRedeliver
public double msgRateRedeliverTotal rate of messages redelivered on this subscription (msg/s). -
messageAckRate
public double messageAckRateTotal rate of message ack(msg/s). -
chunkedMessageRate
public double chunkedMessageRateChunked message dispatch rate. -
msgBacklog
public long msgBacklogNumber of entries in the subscription backlog. -
backlogSize
public long backlogSizeSize of backlog in byte, -1 means that the argument "subscriptionBacklogSize" is false when calling the API. -
earliestMsgPublishTimeInBacklog
public long earliestMsgPublishTimeInBacklogGet the publish time of the earliest message in the backlog. -
msgBacklogNoDelayed
public long msgBacklogNoDelayedNumber of entries in the subscription backlog that do not contain the delay messages. -
blockedSubscriptionOnUnackedMsgs
public boolean blockedSubscriptionOnUnackedMsgsFlag to verify if subscription is blocked due to reaching threshold of unacked messages. -
msgDelayed
public long msgDelayedNumber of delayed messages currently being tracked. -
unackedMessages
public long unackedMessagesNumber of unacknowledged messages for the subscription, where an unacknowledged message is one that has been sent to a consumer but not yet acknowledged. Calculated by summing allConsumerStatsImpl.unackedMessagesfor this subscription. SeeConsumerStatsImpl.unackedMessagesfor additional details. -
type
The subscription type as defined bySubscriptionType. -
activeConsumerName
The name of the consumer that is active for single active consumer subscriptions i.e. failover or exclusive. -
msgRateExpired
public double msgRateExpiredTotal rate of messages expired on this subscription (msg/s). -
totalMsgExpired
public long totalMsgExpiredTotal messages expired on this subscription. -
lastExpireTimestamp
public long lastExpireTimestampLast message expire execution timestamp. -
lastConsumedFlowTimestamp
public long lastConsumedFlowTimestampLast received consume flow command timestamp. -
lastConsumedTimestamp
public long lastConsumedTimestampLast consume message timestamp. -
lastAckedTimestamp
public long lastAckedTimestampLast acked message timestamp. -
lastMarkDeleteAdvancedTimestamp
public long lastMarkDeleteAdvancedTimestampLast MarkDelete position advanced timestamp. -
consumers
List of connected consumers on this subscription w/ their stats. -
isDurable
public boolean isDurableTells whether this subscription is durable or ephemeral (eg.: from a reader). -
isReplicated
public boolean isReplicatedMark that the subscription state is kept in sync across different regions. -
allowOutOfOrderDelivery
public boolean allowOutOfOrderDeliveryWhether out of order delivery is allowed on the Key_Shared subscription. -
consumersAfterMarkDeletePosition
This is for Key_Shared subscription to get the recentJoinedConsumers in the Key_Shared subscription. -
nonContiguousDeletedMessagesRanges
public int nonContiguousDeletedMessagesRangesThe number of non-contiguous deleted messages ranges. -
nonContiguousDeletedMessagesRangesSerializedSize
public int nonContiguousDeletedMessagesRangesSerializedSizeThe serialized size of non-contiguous deleted messages ranges. -
delayedMessageIndexSizeInBytes
public long delayedMessageIndexSizeInBytesThe size of DelayedDeliveryTracer memory usage. -
bucketDelayedIndexStats
-
subscriptionProperties
SubscriptionProperties (key/value strings) associated with this subscribe. -
filterProcessedMsgCount
public long filterProcessedMsgCount -
filterAcceptedMsgCount
public long filterAcceptedMsgCount -
filterRejectedMsgCount
public long filterRejectedMsgCount -
filterRescheduledMsgCount
public long filterRescheduledMsgCount
-
-
构造器详细资料
-
SubscriptionStatsImpl
public SubscriptionStatsImpl()
-
-
方法详细资料
-
reset
public void reset() -
add
-