public class ConsumerMetricPerClientIdAndTopics
extends java.lang.Object
Constructor and Description |
---|
ConsumerMetricPerClientIdAndTopics(java.lang.String clientId,
ConsumerMetric consumerMetric,
java.util.Map<TopicPartition,ConsumerMetric> topicMetrics)
ConsumerMetricPerClientIdAndTopicPartitions constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientId()
Gets the client id.
|
java.lang.String |
getMetricDescription()
Gets the metric description.
|
java.lang.String |
getMetricGroup()
Gets the metric group.
|
java.lang.String |
getMetricName()
Gets the metric name.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetricTags()
Gets the metric tag.
|
java.util.Map<java.lang.String,ConsumerMetric> |
getTopicMetrics()
Gets a map with the topic name and the associated metric value.
|
double |
getValue()
Gets the metric value.
|
public ConsumerMetricPerClientIdAndTopics(java.lang.String clientId, ConsumerMetric consumerMetric, java.util.Map<TopicPartition,ConsumerMetric> topicMetrics)
clientId
- An associated clientId.consumerMetric
- An associated consumerMetric to get the value.topicMetrics
- An associated map with topic-partition as key an consumerMetric as value.public java.lang.String getClientId()
public double getValue()
public java.lang.String getMetricName()
public java.lang.String getMetricDescription()
public java.lang.String getMetricGroup()
public java.util.Map<java.lang.String,java.lang.String> getMetricTags()
public java.util.Map<java.lang.String,ConsumerMetric> getTopicMetrics()