public class RocketMQConsumerTopic extends AbstractModel
header, skipSign
Constructor and Description |
---|
RocketMQConsumerTopic() |
RocketMQConsumerTopic(RocketMQConsumerTopic 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 |
---|---|
Long |
getAccumulative()
Get 消息堆积数
|
Long |
getLastConsumptionTime()
Get 最后消费时间,以毫秒为单位
|
Long |
getPartitionNum()
Get 分区数
|
String |
getSubRule()
Get 订阅规则
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getTopic()
Get 主题名称
|
String |
getType()
Get 主题类型,Normal表示普通,GlobalOrder表示全局顺序,PartitionedOrder表示局部顺序,Transaction表示事务,Retry表示重试,DeadLetter表示死信
|
void |
setAccumulative(Long Accumulative)
Set 消息堆积数
|
void |
setLastConsumptionTime(Long LastConsumptionTime)
Set 最后消费时间,以毫秒为单位
|
void |
setPartitionNum(Long PartitionNum)
Set 分区数
|
void |
setSubRule(String SubRule)
Set 订阅规则
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTopic(String Topic)
Set 主题名称
|
void |
setType(String Type)
Set 主题类型,Normal表示普通,GlobalOrder表示全局顺序,PartitionedOrder表示局部顺序,Transaction表示事务,Retry表示重试,DeadLetter表示死信
|
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, toJsonString
public RocketMQConsumerTopic()
public RocketMQConsumerTopic(RocketMQConsumerTopic source)
public String getTopic()
public void setTopic(String Topic)
Topic
- 主题名称public String getType()
public void setType(String Type)
Type
- 主题类型,Normal表示普通,GlobalOrder表示全局顺序,PartitionedOrder表示局部顺序,Transaction表示事务,Retry表示重试,DeadLetter表示死信public Long getPartitionNum()
public void setPartitionNum(Long PartitionNum)
PartitionNum
- 分区数public Long getAccumulative()
public void setAccumulative(Long Accumulative)
Accumulative
- 消息堆积数public Long getLastConsumptionTime()
public void setLastConsumptionTime(Long LastConsumptionTime)
LastConsumptionTime
- 最后消费时间,以毫秒为单位public String getSubRule()
public void setSubRule(String SubRule)
SubRule
- 订阅规则
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.