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 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 |
getName()
Get Consumer group name
|
Boolean |
getReadEnabled()
Get Whether to allow consumption
|
String |
getRemark()
Get Remarks
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getRetryPartitionNum()
Get Number of partitions in the retry letter topic
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getTotalAccumulative()
Get Total number of retained 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 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 |
setName(String Name)
Set Consumer group name
|
void |
setReadEnabled(Boolean ReadEnabled)
Set Whether to allow consumption
|
void |
setRemark(String Remark)
Set Remarks
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setRetryPartitionNum(Long RetryPartitionNum)
Set Number of partitions in the retry letter topic
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setTotalAccumulative(Long TotalAccumulative)
Set Total number of retained 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 namepublic Long getConsumerNum()
public void setConsumerNum(Long ConsumerNum)
ConsumerNum
- Number of online consumerspublic Long getTPS()
public void setTPS(Long TPS)
TPS
- Consumption TPSpublic Long getTotalAccumulative()
public void setTotalAccumulative(Long TotalAccumulative)
TotalAccumulative
- Total number of retained messagespublic Long getConsumptionMode()
public void setConsumptionMode(Long ConsumptionMode)
ConsumptionMode
- 0: cluster consumption mode; 1: broadcast consumption mode; -1: unknownpublic Boolean getReadEnabled()
public void setReadEnabled(Boolean ReadEnabled)
ReadEnabled
- Whether to allow consumptionpublic Long getRetryPartitionNum()
public void setRetryPartitionNum(Long RetryPartitionNum)
RetryPartitionNum
- Number of partitions in the retry letter 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 millisecondspublic Long getUpdateTime()
public void setUpdateTime(Long UpdateTime)
UpdateTime
- Modification time in millisecondspublic String getClientProtocol()
public void setClientProtocol(String ClientProtocol)
ClientProtocol
- Client protocolpublic String getRemark()
public void setRemark(String Remark)
Remark
- Remarks
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, 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 consumptionCopyright © 2022. All rights reserved.