public class RocketMQGroup extends AbstractModel
header, skipSign
Constructor and Description |
---|
RocketMQGroup() |
RocketMQGroup(RocketMQGroup 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 |
---|---|
Boolean |
getBroadcastEnabled()
Get 是否开启广播消费
|
String |
getClientProtocol()
Get 客户端协议
|
Long |
getConsumerNum()
Get 在线消费者数量
|
String |
getConsumerType()
Get 消费者类型,枚举值ACTIVELY, PASSIVELY
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getConsumptionMode()
Get 0表示集群消费模式,1表示广播消费模式,-1表示未知
|
Long |
getCreateTime()
Get 创建时间,以毫秒为单位
|
String |
getGroupType()
Get Group类型
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getName()
Get 消费组名称
|
Boolean |
getReadEnabled()
Get 是否允许消费
|
String |
getRemark()
Get 说明信息
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getRetryMaxTimes()
Get 重试次数
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getRetryPartitionNum()
Get 重试队列分区数
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getTotalAccumulative()
Get 总堆积数量
|
Long |
getTPS()
Get 消费TPS
|
Long |
getUpdateTime()
Get 修改时间,以毫秒为单位
|
void |
setBroadcastEnabled(Boolean BroadcastEnabled)
Set 是否开启广播消费
|
void |
setClientProtocol(String ClientProtocol)
Set 客户端协议
|
void |
setConsumerNum(Long ConsumerNum)
Set 在线消费者数量
|
void |
setConsumerType(String ConsumerType)
Set 消费者类型,枚举值ACTIVELY, PASSIVELY
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setConsumptionMode(Long ConsumptionMode)
Set 0表示集群消费模式,1表示广播消费模式,-1表示未知
|
void |
setCreateTime(Long CreateTime)
Set 创建时间,以毫秒为单位
|
void |
setGroupType(String GroupType)
Set Group类型
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setName(String Name)
Set 消费组名称
|
void |
setReadEnabled(Boolean ReadEnabled)
Set 是否允许消费
|
void |
setRemark(String Remark)
Set 说明信息
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRetryMaxTimes(Long RetryMaxTimes)
Set 重试次数
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRetryPartitionNum(Long RetryPartitionNum)
Set 重试队列分区数
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTotalAccumulative(Long TotalAccumulative)
Set 总堆积数量
|
void |
setTPS(Long TPS)
Set 消费TPS
|
void |
setUpdateTime(Long UpdateTime)
Set 修改时间,以毫秒为单位
|
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 RocketMQGroup()
public RocketMQGroup(RocketMQGroup source)
public String getName()
public void setName(String Name)
Name
- 消费组名称public Long getConsumerNum()
public void setConsumerNum(Long ConsumerNum)
ConsumerNum
- 在线消费者数量public Long getTPS()
public void setTPS(Long TPS)
TPS
- 消费TPSpublic Long getTotalAccumulative()
public void setTotalAccumulative(Long TotalAccumulative)
TotalAccumulative
- 总堆积数量public Long getConsumptionMode()
public void setConsumptionMode(Long ConsumptionMode)
ConsumptionMode
- 0表示集群消费模式,1表示广播消费模式,-1表示未知public Boolean getReadEnabled()
public void setReadEnabled(Boolean ReadEnabled)
ReadEnabled
- 是否允许消费public Long getRetryPartitionNum()
public void setRetryPartitionNum(Long RetryPartitionNum)
RetryPartitionNum
- 重试队列分区数
注意:此字段可能返回 null,表示取不到有效值。public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- 创建时间,以毫秒为单位public Long getUpdateTime()
public void setUpdateTime(Long UpdateTime)
UpdateTime
- 修改时间,以毫秒为单位public String getClientProtocol()
public void setClientProtocol(String ClientProtocol)
ClientProtocol
- 客户端协议public String getRemark()
public void setRemark(String Remark)
Remark
- 说明信息
注意:此字段可能返回 null,表示取不到有效值。public String getConsumerType()
public void setConsumerType(String ConsumerType)
ConsumerType
- 消费者类型,枚举值ACTIVELY, PASSIVELY
注意:此字段可能返回 null,表示取不到有效值。public Boolean getBroadcastEnabled()
public void setBroadcastEnabled(Boolean BroadcastEnabled)
BroadcastEnabled
- 是否开启广播消费public String getGroupType()
public void setGroupType(String GroupType)
GroupType
- Group类型
注意:此字段可能返回 null,表示取不到有效值。public Long getRetryMaxTimes()
public void setRetryMaxTimes(Long RetryMaxTimes)
RetryMaxTimes
- 重试次数
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.