public class TopicStatsImpl extends Object implements TopicStats
| Modifier and Type | Field and Description |
|---|---|
double |
averageMsgSize
Average size of published messages (bytes).
|
long |
backlogSize
Get estimated total unconsumed or backlog size in bytes.
|
long |
bytesInCounter
Total bytes published to the topic (bytes).
|
long |
bytesOutCounter
Total bytes delivered to consumer (bytes).
|
CompactionStatsImpl |
compaction
The compaction stats.
|
String |
deduplicationStatus |
long |
earliestMsgPublishTimeInBacklogs
Get the publish time of the earliest message over all the backlogs.
|
long |
lastOffloadFailureTimeStamp
record last failed offloaded timestamp.
|
long |
lastOffloadLedgerId
record last successful offloaded ledgerId.
|
long |
lastOffloadSuccessTimeStamp
record last successful offloaded timestamp.
|
boolean |
msgChunkPublished
Topic has chunked message published on it.
|
long |
msgInCounter
Total messages published to the topic (msg).
|
long |
msgOutCounter
Total messages delivered to consumer (msg).
|
double |
msgRateIn
Total rate of messages published on the topic (msg/s).
|
double |
msgRateOut
Total rate of messages dispatched for the topic (msg/s).
|
double |
msgThroughputIn
Total throughput of messages published on the topic (byte/s).
|
double |
msgThroughputOut
Total throughput of messages dispatched for the topic (byte/s).
|
int |
nonContiguousDeletedMessagesRanges
The number of non-contiguous deleted messages ranges.
|
int |
nonContiguousDeletedMessagesRangesSerializedSize
The serialized size of non-contiguous deleted messages ranges.
|
long |
offloadedStorageSize
Space used to store the offloaded messages for the topic/.
|
long |
publishRateLimitedTimes
The number of times the publishing rate limit was triggered.
|
Map<String,ReplicatorStatsImpl> |
replication
Map of replication statistics by remote cluster context.
|
long |
storageSize
Space used to store the messages for the topic (bytes).
|
Map<String,SubscriptionStatsImpl> |
subscriptions
Map of subscriptions with their individual statistics.
|
Long |
topicEpoch
The topic epoch or empty if not set.
|
int |
waitingPublishers |
| Constructor and Description |
|---|
TopicStatsImpl() |
| Modifier and Type | Method and Description |
|---|---|
TopicStatsImpl |
add(TopicStats ts) |
void |
addPublisher(PublisherStatsImpl stats) |
List<? extends PublisherStats> |
getPublishers() |
Map<String,? extends ReplicatorStats> |
getReplication() |
Map<String,? extends SubscriptionStats> |
getSubscriptions() |
void |
reset() |
void |
setPublishers(List<? extends PublisherStats> statsList) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAverageMsgSize, getBacklogSize, getBytesInCounter, getBytesOutCounter, getCompaction, getDeduplicationStatus, getEarliestMsgPublishTimeInBacklogs, getMsgInCounter, getMsgOutCounter, getMsgRateIn, getMsgRateOut, getMsgThroughputIn, getMsgThroughputOut, getNonContiguousDeletedMessagesRanges, getNonContiguousDeletedMessagesRangesSerializedSize, getOffloadedStorageSize, getStorageSize, getTopicEpoch, getWaitingPublishers, isMsgChunkPublishedpublic double msgRateIn
public double msgThroughputIn
public double msgRateOut
public double msgThroughputOut
public long bytesInCounter
public long msgInCounter
public long bytesOutCounter
public long msgOutCounter
public double averageMsgSize
public boolean msgChunkPublished
public long storageSize
public long backlogSize
public long publishRateLimitedTimes
public long earliestMsgPublishTimeInBacklogs
public long offloadedStorageSize
public long lastOffloadLedgerId
public long lastOffloadSuccessTimeStamp
public long lastOffloadFailureTimeStamp
public int waitingPublishers
public Map<String,SubscriptionStatsImpl> subscriptions
public Map<String,ReplicatorStatsImpl> replication
public String deduplicationStatus
public Long topicEpoch
public int nonContiguousDeletedMessagesRanges
public int nonContiguousDeletedMessagesRangesSerializedSize
public CompactionStatsImpl compaction
public List<? extends PublisherStats> getPublishers()
getPublishers in interface TopicStatspublic void setPublishers(List<? extends PublisherStats> statsList)
public void addPublisher(PublisherStatsImpl stats)
public Map<String,? extends SubscriptionStats> getSubscriptions()
getSubscriptions in interface TopicStatspublic Map<String,? extends ReplicatorStats> getReplication()
getReplication in interface TopicStatspublic void reset()
public TopicStatsImpl add(TopicStats ts)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.