类 TopicStatsImpl
java.lang.Object
org.apache.pulsar.common.policies.data.stats.TopicStatsImpl
- 所有已实现的接口:
TopicStats
Statistics for a Pulsar topic.
This class is not thread-safe.
-
字段概要
字段修饰符和类型字段说明longdoubleAverage size of published messages (bytes).longthe size in bytes of the topic backlog quota.longthe topic backlog age quota, in seconds.longGet estimated total unconsumed or backlog size in bytes.Map of bucket delayed index statistics.longTotal bytes published to the topic (bytes).longTotal bytes delivered to consumer (bytes).longThe compaction stats.longThe size of DelayedDeliveryTracer memory usage.longGet the publish time of the earliest message over all the backlogs.longrecord last failed offloaded timestamp.longrecord last successful offloaded ledgerId.longrecord last successful offloaded timestamp.booleanTopic has chunked message published on it.longTotal messages published to the topic (msg).longTotal messages delivered to consumer (msg).doubleTotal rate of messages published on the topic (msg/s).doubleTotal rate of messages dispatched for the topic (msg/s).doubleTotal throughput of messages published on the topic (byte/s).doubleTotal throughput of messages dispatched for the topic (byte/s).intThe number of non-contiguous deleted messages ranges.intThe serialized size of non-contiguous deleted messages ranges.longSpace used to store the offloaded messages for the topic/.longAge of oldest unacknowledged message, as recorded in last backlog quota check interval.The subscription name containing oldest unacknowledged message as recorded in last backlog quota check.longThe broker that owns this topic.longThe number of times the publishing rate limit was triggered.Map of replication statistics by remote cluster context.longSpace used to store the messages for the topic (bytes).Map of subscriptions with their individual statistics.The topic epoch or empty if not set.int -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明add(TopicStats ts) voidaddPublisher(PublisherStatsImpl stats) List<? extends PublisherStats>Map<String,? extends ReplicatorStats> Map<String,? extends SubscriptionStats> voidreset()voidsetPublishers(List<? extends PublisherStats> statsList) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.apache.pulsar.common.policies.data.TopicStats
getAverageMsgSize, getBacklogQuotaLimitSize, getBacklogQuotaLimitTime, getBacklogSize, getBytesInCounter, getBytesOutCounter, getCompaction, getDeduplicationStatus, getDelayedMessageIndexSizeInBytes, getEarliestMsgPublishTimeInBacklogs, getMsgInCounter, getMsgOutCounter, getMsgRateIn, getMsgRateOut, getMsgThroughputIn, getMsgThroughputOut, getNonContiguousDeletedMessagesRanges, getNonContiguousDeletedMessagesRangesSerializedSize, getOffloadedStorageSize, getOldestBacklogMessageAgeSeconds, getOldestBacklogMessageSubscriptionName, getOwnerBroker, getStorageSize, getTopicEpoch, getWaitingPublishers, isMsgChunkPublished
-
字段详细资料
-
msgRateIn
public double msgRateInTotal rate of messages published on the topic (msg/s). -
msgThroughputIn
public double msgThroughputInTotal throughput of messages published on the topic (byte/s). -
msgRateOut
public double msgRateOutTotal rate of messages dispatched for the topic (msg/s). -
msgThroughputOut
public double msgThroughputOutTotal throughput of messages dispatched for the topic (byte/s). -
bytesInCounter
public long bytesInCounterTotal bytes published to the topic (bytes). -
msgInCounter
public long msgInCounterTotal messages published to the topic (msg). -
bytesOutCounter
public long bytesOutCounterTotal bytes delivered to consumer (bytes). -
msgOutCounter
public long msgOutCounterTotal messages delivered to consumer (msg). -
averageMsgSize
public double averageMsgSizeAverage size of published messages (bytes). -
msgChunkPublished
public boolean msgChunkPublishedTopic has chunked message published on it. -
storageSize
public long storageSizeSpace used to store the messages for the topic (bytes). -
backlogSize
public long backlogSizeGet estimated total unconsumed or backlog size in bytes. -
backlogQuotaLimitSize
public long backlogQuotaLimitSizethe size in bytes of the topic backlog quota. -
backlogQuotaLimitTime
public long backlogQuotaLimitTimethe topic backlog age quota, in seconds. -
oldestBacklogMessageAgeSeconds
public long oldestBacklogMessageAgeSecondsAge of oldest unacknowledged message, as recorded in last backlog quota check interval.The age of the oldest unacknowledged (i.e. backlog) message, measured by the time elapsed from its published time, in seconds. This value is recorded every backlog quota check interval, hence it represents the value seen in the last check.
-
oldestBacklogMessageSubscriptionName
The subscription name containing oldest unacknowledged message as recorded in last backlog quota check.The name of the subscription containing the oldest unacknowledged message. This value is recorded every backlog quota check interval, hence it represents the value seen in the last check.
-
publishRateLimitedTimes
public long publishRateLimitedTimesThe number of times the publishing rate limit was triggered. -
earliestMsgPublishTimeInBacklogs
public long earliestMsgPublishTimeInBacklogsGet the publish time of the earliest message over all the backlogs. -
offloadedStorageSize
public long offloadedStorageSizeSpace used to store the offloaded messages for the topic/. -
lastOffloadLedgerId
public long lastOffloadLedgerIdrecord last successful offloaded ledgerId. If no offload ledger, the value should be 0 -
lastOffloadSuccessTimeStamp
public long lastOffloadSuccessTimeStamprecord last successful offloaded timestamp. If no successful offload, the value should be 0 -
lastOffloadFailureTimeStamp
public long lastOffloadFailureTimeStamprecord last failed offloaded timestamp. If no failed offload, the value should be 0 -
ongoingTxnCount
public long ongoingTxnCount -
abortedTxnCount
public long abortedTxnCount -
committedTxnCount
public long committedTxnCount -
waitingPublishers
public int waitingPublishers -
subscriptions
Map of subscriptions with their individual statistics. -
replication
Map of replication statistics by remote cluster context. -
deduplicationStatus
-
topicEpoch
The topic epoch or empty if not set. -
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
Map of bucket delayed index statistics. -
compaction
The compaction stats. -
ownerBroker
The broker that owns this topic.
-
-
构造器详细资料
-
TopicStatsImpl
public TopicStatsImpl()
-
-
方法详细资料
-
getPublishers
- 指定者:
getPublishers在接口中TopicStats
-
setPublishers
-
addPublisher
-
getSubscriptions
- 指定者:
getSubscriptions在接口中TopicStats
-
getReplication
- 指定者:
getReplication在接口中TopicStats
-
reset
public void reset() -
add
-