Class ConsumersSchedule
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tdmq.v20200217.models.ConsumersSchedule
-
public class ConsumersSchedule extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ConsumersSchedule()ConsumersSchedule(ConsumersSchedule 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetMsgBacklog()Get 消息积压数量。 注意:此字段可能返回 null,表示取不到有效值。StringgetMsgRateExpired()Get 超时丢弃比例。 注意:此字段可能返回 null,表示取不到有效值。StringgetMsgRateOut()Get 消费者每秒分发消息的数量之和。StringgetMsgThroughputOut()Get 消费者每秒消息的byte。LonggetNumberOfEntries()Get 消息数量。 注意:此字段可能返回 null,表示取不到有效值。LonggetPartitions()Get 当前分区id。 注意:此字段可能返回 null,表示取不到有效值。voidsetMsgBacklog(Long MsgBacklog)Set 消息积压数量。 注意:此字段可能返回 null,表示取不到有效值。voidsetMsgRateExpired(String MsgRateExpired)Set 超时丢弃比例。 注意:此字段可能返回 null,表示取不到有效值。voidsetMsgRateOut(String MsgRateOut)Set 消费者每秒分发消息的数量之和。voidsetMsgThroughputOut(String MsgThroughputOut)Set 消费者每秒消息的byte。voidsetNumberOfEntries(Long NumberOfEntries)Set 消息数量。 注意:此字段可能返回 null,表示取不到有效值。voidsetPartitions(Long Partitions)Set 当前分区id。 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ConsumersSchedule
public ConsumersSchedule()
-
ConsumersSchedule
public ConsumersSchedule(ConsumersSchedule 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.
-
-
Method Detail
-
getPartitions
public Long getPartitions()
Get 当前分区id。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Partitions 当前分区id。 注意:此字段可能返回 null,表示取不到有效值。
-
setPartitions
public void setPartitions(Long Partitions)
Set 当前分区id。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Partitions- 当前分区id。 注意:此字段可能返回 null,表示取不到有效值。
-
getNumberOfEntries
public Long getNumberOfEntries()
Get 消息数量。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- NumberOfEntries 消息数量。 注意:此字段可能返回 null,表示取不到有效值。
-
setNumberOfEntries
public void setNumberOfEntries(Long NumberOfEntries)
Set 消息数量。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
NumberOfEntries- 消息数量。 注意:此字段可能返回 null,表示取不到有效值。
-
getMsgBacklog
public Long getMsgBacklog()
Get 消息积压数量。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MsgBacklog 消息积压数量。 注意:此字段可能返回 null,表示取不到有效值。
-
setMsgBacklog
public void setMsgBacklog(Long MsgBacklog)
Set 消息积压数量。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MsgBacklog- 消息积压数量。 注意:此字段可能返回 null,表示取不到有效值。
-
getMsgRateOut
public String getMsgRateOut()
Get 消费者每秒分发消息的数量之和。- Returns:
- MsgRateOut 消费者每秒分发消息的数量之和。
-
setMsgRateOut
public void setMsgRateOut(String MsgRateOut)
Set 消费者每秒分发消息的数量之和。- Parameters:
MsgRateOut- 消费者每秒分发消息的数量之和。
-
getMsgThroughputOut
public String getMsgThroughputOut()
Get 消费者每秒消息的byte。- Returns:
- MsgThroughputOut 消费者每秒消息的byte。
-
setMsgThroughputOut
public void setMsgThroughputOut(String MsgThroughputOut)
Set 消费者每秒消息的byte。- Parameters:
MsgThroughputOut- 消费者每秒消息的byte。
-
getMsgRateExpired
public String getMsgRateExpired()
Get 超时丢弃比例。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MsgRateExpired 超时丢弃比例。 注意:此字段可能返回 null,表示取不到有效值。
-
setMsgRateExpired
public void setMsgRateExpired(String MsgRateExpired)
Set 超时丢弃比例。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MsgRateExpired- 超时丢弃比例。 注意:此字段可能返回 null,表示取不到有效值。
-
-