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).
|
String |
deduplicationStatus |
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/.
|
List<PublisherStatsImpl> |
publishers
List of connected publishers on this topic w/ their stats.
|
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) |
List<? extends PublisherStats> |
getPublishers() |
Map<String,? extends ReplicatorStats> |
getReplication() |
Map<String,? extends SubscriptionStats> |
getSubscriptions() |
void |
reset() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAverageMsgSize, getBacklogSize, getBytesInCounter, getBytesOutCounter, getDeduplicationStatus, 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 offloadedStorageSize
public List<PublisherStatsImpl> publishers
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 List<? extends PublisherStats> getPublishers()
getPublishers in interface TopicStatspublic 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–2021 Apache Software Foundation. All rights reserved.