public class ConsumerStatsImpl extends Object implements ConsumerStats
| Modifier and Type | Field and Description |
|---|---|
int |
availablePermits
Number of available message permits for the consumer.
|
int |
avgMessagesPerEntry
Number of average messages per entry for the consumer consumed.
|
boolean |
blockedConsumerOnUnackedMsgs
Flag to verify if consumer is blocked due to reaching threshold of unacked messages.
|
long |
bytesOutCounter
Total bytes delivered to consumer (bytes).
|
double |
chunkedMessageRate
The total rate of chunked messages delivered to this consumer.
|
String |
consumerName
Name of the consumer.
|
List<String> |
keyHashRanges
Hash ranges assigned to this consumer if is Key_Shared sub mode.
|
long |
lastAckedTimestamp |
long |
lastConsumedTimestamp |
Map<String,String> |
metadata
Metadata (key/value strings) associated with this consumer.
|
long |
msgOutCounter
Total messages delivered to consumer (msg).
|
double |
msgRateOut
Total rate of messages delivered to the consumer (msg/s).
|
double |
msgRateRedeliver
Total rate of messages redelivered by this consumer (msg/s).
|
double |
msgThroughputOut
Total throughput delivered to the consumer (bytes/s).
|
String |
readPositionWhenJoining
The read position of the cursor when the consumer joining.
|
int |
unackedMessages
Number of unacknowledged messages for the consumer.
|
| Constructor and Description |
|---|
ConsumerStatsImpl() |
| Modifier and Type | Method and Description |
|---|---|
ConsumerStatsImpl |
add(ConsumerStatsImpl stats) |
String |
getAddress() |
String |
getClientVersion() |
String |
getConnectedSince() |
String |
getReadPositionWhenJoining() |
void |
setAddress(String address) |
void |
setClientVersion(String clientVersion) |
void |
setConnectedSince(String connectedSince) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAvailablePermits, getAvgMessagesPerEntry, getBytesOutCounter, getChunkedMessageRate, getConsumerName, getKeyHashRanges, getLastAckedTimestamp, getLastConsumedTimestamp, getMetadata, getMsgOutCounter, getMsgRateOut, getMsgRateRedeliver, getMsgThroughputOut, getUnackedMessages, isBlockedConsumerOnUnackedMsgspublic double msgRateOut
public double msgThroughputOut
public long bytesOutCounter
public long msgOutCounter
public double msgRateRedeliver
public double chunkedMessageRate
public String consumerName
public int availablePermits
public int unackedMessages
public int avgMessagesPerEntry
public boolean blockedConsumerOnUnackedMsgs
public String readPositionWhenJoining
public long lastAckedTimestamp
public long lastConsumedTimestamp
public List<String> keyHashRanges
public ConsumerStatsImpl add(ConsumerStatsImpl stats)
public String getAddress()
getAddress in interface ConsumerStatspublic void setAddress(String address)
public String getConnectedSince()
getConnectedSince in interface ConsumerStatspublic void setConnectedSince(String connectedSince)
public String getClientVersion()
getClientVersion in interface ConsumerStatspublic void setClientVersion(String clientVersion)
public String getReadPositionWhenJoining()
getReadPositionWhenJoining in interface ConsumerStatsCopyright © 2017–2022 Apache Software Foundation. All rights reserved.