public class RocketMQGroup extends AbstractModel
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 Whether to enable broadcast consumption.
|
String |
getClientProtocol()
Get Client protocol.
|
Long |
getConsumerNum()
Get The number of online consumers.
|
String |
getConsumerType()
Get Consumer type.
|
Long |
getConsumptionMode()
Get 0: Cluster consumption mode; 1: Broadcast consumption mode; -1: Unknown.
|
Long |
getCreateTime()
Get Creation time in milliseconds.
|
String |
getGroupType()
Get Group type
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getName()
Get Consumer group name.
|
Boolean |
getReadEnabled()
Get Whether to allow consumption.
|
String |
getRemark()
Get Description.
|
Long |
getRetryMaxTimes()
Get The number of retries
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getRetryPartitionNum()
Get The number of partitions in a retry topic.
|
Long |
getTotalAccumulative()
Get The total number of heaped messages.
|
Long |
getTPS()
Get Consumption TPS.
|
Long |
getUpdateTime()
Get Modification time in milliseconds.
|
void |
setBroadcastEnabled(Boolean BroadcastEnabled)
Set Whether to enable broadcast consumption.
|
void |
setClientProtocol(String ClientProtocol)
Set Client protocol.
|
void |
setConsumerNum(Long ConsumerNum)
Set The number of online consumers.
|
void |
setConsumerType(String ConsumerType)
Set Consumer type.
|
void |
setConsumptionMode(Long ConsumptionMode)
Set 0: Cluster consumption mode; 1: Broadcast consumption mode; -1: Unknown.
|
void |
setCreateTime(Long CreateTime)
Set Creation time in milliseconds.
|
void |
setGroupType(String GroupType)
Set Group type
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setName(String Name)
Set Consumer group name.
|
void |
setReadEnabled(Boolean ReadEnabled)
Set Whether to allow consumption.
|
void |
setRemark(String Remark)
Set Description.
|
void |
setRetryMaxTimes(Long RetryMaxTimes)
Set The number of retries
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRetryPartitionNum(Long RetryPartitionNum)
Set The number of partitions in a retry topic.
|
void |
setTotalAccumulative(Long TotalAccumulative)
Set The total number of heaped messages.
|
void |
setTPS(Long TPS)
Set Consumption TPS.
|
void |
setUpdateTime(Long UpdateTime)
Set Modification time in milliseconds.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public RocketMQGroup()
public RocketMQGroup(RocketMQGroup source)
public String getName()
public void setName(String Name)
Name
- Consumer group name.public Long getConsumerNum()
public void setConsumerNum(Long ConsumerNum)
ConsumerNum
- The number of online consumers.public Long getTPS()
public void setTPS(Long TPS)
TPS
- Consumption TPS.public Long getTotalAccumulative()
public void setTotalAccumulative(Long TotalAccumulative)
TotalAccumulative
- The total number of heaped messages.public Long getConsumptionMode()
public void setConsumptionMode(Long ConsumptionMode)
ConsumptionMode
- 0: Cluster consumption mode; 1: Broadcast consumption mode; -1: Unknown.public Boolean getReadEnabled()
public void setReadEnabled(Boolean ReadEnabled)
ReadEnabled
- Whether to allow consumption.public Long getRetryPartitionNum()
public void setRetryPartitionNum(Long RetryPartitionNum)
RetryPartitionNum
- The number of partitions in a retry topic.
Note: This field may return null, indicating that no valid values can be obtained.public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- Creation time in milliseconds.public Long getUpdateTime()
public void setUpdateTime(Long UpdateTime)
UpdateTime
- Modification time in milliseconds.public String getClientProtocol()
public void setClientProtocol(String ClientProtocol)
ClientProtocol
- Client protocol.public String getRemark()
public void setRemark(String Remark)
Remark
- Description.
Note: This field may return null, indicating that no valid values can be obtained.public String getConsumerType()
public void setConsumerType(String ConsumerType)
ConsumerType
- Consumer type. Enumerated values: `ACTIVELY` or `PASSIVELY`.
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getBroadcastEnabled()
public void setBroadcastEnabled(Boolean BroadcastEnabled)
BroadcastEnabled
- Whether to enable broadcast consumption.public String getGroupType()
public void setGroupType(String GroupType)
GroupType
- Group type
Note: This field may return null, indicating that no valid values can be obtained.public Long getRetryMaxTimes()
public void setRetryMaxTimes(Long RetryMaxTimes)
RetryMaxTimes
- The number of retries
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.