public class MonitorInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
MonitorInfo() |
MonitorInfo(MonitorInfo 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 |
getConsumerGroupLag()
Get 当前分区未消费的数据量
|
Long |
getConsumerGroupOffset()
Get 当前分区的偏移量
|
Long |
getLatency()
Get 当前分区的消费延迟(单位为秒)
|
Long |
getPartitionNo()
Get 当前分区的编号,从0开始
|
void |
setConsumerGroupLag(Long ConsumerGroupLag)
Set 当前分区未消费的数据量
|
void |
setConsumerGroupOffset(Long ConsumerGroupOffset)
Set 当前分区的偏移量
|
void |
setLatency(Long Latency)
Set 当前分区的消费延迟(单位为秒)
|
void |
setPartitionNo(Long PartitionNo)
Set 当前分区的编号,从0开始
|
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 MonitorInfo()
public MonitorInfo(MonitorInfo source)
public Long getPartitionNo()
public void setPartitionNo(Long PartitionNo)
PartitionNo
- 当前分区的编号,从0开始public Long getConsumerGroupOffset()
public void setConsumerGroupOffset(Long ConsumerGroupOffset)
ConsumerGroupOffset
- 当前分区的偏移量public Long getConsumerGroupLag()
public void setConsumerGroupLag(Long ConsumerGroupLag)
ConsumerGroupLag
- 当前分区未消费的数据量public Long getLatency()
public void setLatency(Long Latency)
Latency
- 当前分区的消费延迟(单位为秒)Copyright © 2024. All rights reserved.