public class RocketMQClusterConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
RocketMQClusterConfig() |
RocketMQClusterConfig(RocketMQClusterConfig 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 |
getMaxGroupNum()
Get 最大Group数量
|
Long |
getMaxLatencyTime()
Get 消息最长延时,以毫秒为单位
|
Long |
getMaxNamespaceNum()
Get 最大命名空间数量
|
Long |
getMaxQueuesPerTopic()
Get 单个主题最大队列数
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getMaxRetentionTime()
Get 消息最大保留时间,以毫秒为单位
|
Long |
getMaxRoleNum()
Get 最大角色数量
|
Long |
getMaxTopicNum()
Get 最大Topic数量
|
Long |
getMaxTpsLimit()
Get TPS限额
|
Long |
getMaxTpsPerNamespace()
Deprecated.
|
RocketMQTopicDistribution[] |
getTopicDistribution()
Get topic分布
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getUsedGroupNum()
Get 已使用Group数量
|
Long |
getUsedNamespaceNum()
Get 已使用命名空间数量
|
Long |
getUsedTopicNum()
Get 已使用Topic数量
|
void |
setMaxGroupNum(Long MaxGroupNum)
Set 最大Group数量
|
void |
setMaxLatencyTime(Long MaxLatencyTime)
Set 消息最长延时,以毫秒为单位
|
void |
setMaxNamespaceNum(Long MaxNamespaceNum)
Set 最大命名空间数量
|
void |
setMaxQueuesPerTopic(Long MaxQueuesPerTopic)
Set 单个主题最大队列数
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMaxRetentionTime(Long MaxRetentionTime)
Set 消息最大保留时间,以毫秒为单位
|
void |
setMaxRoleNum(Long MaxRoleNum)
Set 最大角色数量
|
void |
setMaxTopicNum(Long MaxTopicNum)
Set 最大Topic数量
|
void |
setMaxTpsLimit(Long MaxTpsLimit)
Set TPS限额
|
void |
setMaxTpsPerNamespace(Long MaxTpsPerNamespace)
Deprecated.
|
void |
setTopicDistribution(RocketMQTopicDistribution[] TopicDistribution)
Set topic分布
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setUsedGroupNum(Long UsedGroupNum)
Set 已使用Group数量
|
void |
setUsedNamespaceNum(Long UsedNamespaceNum)
Set 已使用命名空间数量
|
void |
setUsedTopicNum(Long UsedTopicNum)
Set 已使用Topic数量
|
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 RocketMQClusterConfig()
public RocketMQClusterConfig(RocketMQClusterConfig source)
@Deprecated public Long getMaxTpsPerNamespace()
@Deprecated public void setMaxTpsPerNamespace(Long MaxTpsPerNamespace)
MaxTpsPerNamespace
- 单命名空间TPS上限public Long getMaxNamespaceNum()
public void setMaxNamespaceNum(Long MaxNamespaceNum)
MaxNamespaceNum
- 最大命名空间数量public Long getUsedNamespaceNum()
public void setUsedNamespaceNum(Long UsedNamespaceNum)
UsedNamespaceNum
- 已使用命名空间数量public Long getMaxTopicNum()
public void setMaxTopicNum(Long MaxTopicNum)
MaxTopicNum
- 最大Topic数量public Long getUsedTopicNum()
public void setUsedTopicNum(Long UsedTopicNum)
UsedTopicNum
- 已使用Topic数量public Long getMaxGroupNum()
public void setMaxGroupNum(Long MaxGroupNum)
MaxGroupNum
- 最大Group数量public Long getUsedGroupNum()
public void setUsedGroupNum(Long UsedGroupNum)
UsedGroupNum
- 已使用Group数量public Long getMaxRetentionTime()
public void setMaxRetentionTime(Long MaxRetentionTime)
MaxRetentionTime
- 消息最大保留时间,以毫秒为单位public Long getMaxLatencyTime()
public void setMaxLatencyTime(Long MaxLatencyTime)
MaxLatencyTime
- 消息最长延时,以毫秒为单位public Long getMaxQueuesPerTopic()
public void setMaxQueuesPerTopic(Long MaxQueuesPerTopic)
MaxQueuesPerTopic
- 单个主题最大队列数
注意:此字段可能返回 null,表示取不到有效值。public RocketMQTopicDistribution[] getTopicDistribution()
public void setTopicDistribution(RocketMQTopicDistribution[] TopicDistribution)
TopicDistribution
- topic分布
注意:此字段可能返回 null,表示取不到有效值。public Long getMaxRoleNum()
public void setMaxRoleNum(Long MaxRoleNum)
MaxRoleNum
- 最大角色数量public Long getMaxTpsLimit()
public void setMaxTpsLimit(Long MaxTpsLimit)
MaxTpsLimit
- TPS限额Copyright © 2025. All rights reserved.