public class ConsumerStats extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ConsumerStats() | 
| ConsumerStats(ConsumerStats source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getBrokerName()Get 所属Broker
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getBrokerOffset()Get 服务端位点
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getConsumerClientId()Get 消费者ID
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getConsumerOffset()Get 消费位点
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getDiffTotal()Get 消息堆积条数
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getLastTimestamp()Get 最近消费时间
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getQueueId()Get 队列编号
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getTopicName()Get 主题名
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setBrokerName(String BrokerName)Set 所属Broker
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setBrokerOffset(Long BrokerOffset)Set 服务端位点
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setConsumerClientId(String ConsumerClientId)Set 消费者ID
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setConsumerOffset(Long ConsumerOffset)Set 消费位点
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setDiffTotal(Long DiffTotal)Set 消息堆积条数
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setLastTimestamp(Long LastTimestamp)Set 最近消费时间
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setQueueId(Long QueueId)Set 队列编号
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setTopicName(String TopicName)Set 主题名
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ConsumerStats()
public ConsumerStats(ConsumerStats source)
public String getTopicName()
public void setTopicName(String TopicName)
TopicName - 主题名
注意:此字段可能返回 null,表示取不到有效值。public String getBrokerName()
public void setBrokerName(String BrokerName)
BrokerName - 所属Broker
注意:此字段可能返回 null,表示取不到有效值。public Long getQueueId()
public void setQueueId(Long QueueId)
QueueId - 队列编号
注意:此字段可能返回 null,表示取不到有效值。public String getConsumerClientId()
public void setConsumerClientId(String ConsumerClientId)
ConsumerClientId - 消费者ID
注意:此字段可能返回 null,表示取不到有效值。public Long getConsumerOffset()
public void setConsumerOffset(Long ConsumerOffset)
ConsumerOffset - 消费位点
注意:此字段可能返回 null,表示取不到有效值。public Long getBrokerOffset()
public void setBrokerOffset(Long BrokerOffset)
BrokerOffset - 服务端位点
注意:此字段可能返回 null,表示取不到有效值。public Long getDiffTotal()
public void setDiffTotal(Long DiffTotal)
DiffTotal - 消息堆积条数
注意:此字段可能返回 null,表示取不到有效值。public Long getLastTimestamp()
public void setLastTimestamp(Long LastTimestamp)
LastTimestamp - 最近消费时间
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.