public class ConsumerStats extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
availablePermits
Number of available message permits for the consumer
|
boolean |
blockedConsumerOnUnackedMsgs
Flag to verify if consumer is blocked due to reaching threshold of unacked messages
|
String |
consumerName
Name of the consumer
|
Map<String,String> |
metadata
Metadata (key/value strings) associated with this consumer
|
double |
msgRateOut
Total rate of messages delivered to the consumer.
|
double |
msgRateRedeliver
Total rate of messages redelivered by this consumer.
|
double |
msgThroughputOut
Total throughput delivered to the consumer.
|
int |
unackedMessages
Number of unacknowledged messages for the consumer
|
| Constructor and Description |
|---|
ConsumerStats() |
| Modifier and Type | Method and Description |
|---|---|
ConsumerStats |
add(ConsumerStats stats) |
String |
getAddress() |
String |
getClientVersion() |
String |
getConnectedSince() |
void |
setAddress(String address) |
void |
setClientVersion(String clientVersion) |
void |
setConnectedSince(String connectedSince) |
public double msgRateOut
public double msgThroughputOut
public double msgRateRedeliver
public String consumerName
public int availablePermits
public int unackedMessages
public boolean blockedConsumerOnUnackedMsgs
public ConsumerStats add(ConsumerStats stats)
public String getAddress()
public void setAddress(String address)
public String getConnectedSince()
public void setConnectedSince(String connectedSince)
public String getClientVersion()
public void setClientVersion(String clientVersion)
Copyright © 2017–2018 Apache Software Foundation. All rights reserved.