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 The amount of unconsumed data in the current partition.
|
Long |
getConsumerGroupOffset()
Get The offset of the current partition.
|
Long |
getLatency()
Get The consumption delay of the current partition (in seconds).
|
Long |
getPartitionNo()
Get The number of the current partition, starting from 0.
|
void |
setConsumerGroupLag(Long ConsumerGroupLag)
Set The amount of unconsumed data in the current partition.
|
void |
setConsumerGroupOffset(Long ConsumerGroupOffset)
Set The offset of the current partition.
|
void |
setLatency(Long Latency)
Set The consumption delay of the current partition (in seconds).
|
void |
setPartitionNo(Long PartitionNo)
Set The number of the current partition, starting from 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
- The number of the current partition, starting from 0.public Long getConsumerGroupOffset()
public void setConsumerGroupOffset(Long ConsumerGroupOffset)
ConsumerGroupOffset
- The offset of the current partition.public Long getConsumerGroupLag()
public void setConsumerGroupLag(Long ConsumerGroupLag)
ConsumerGroupLag
- The amount of unconsumed data in the current partition.public Long getLatency()
public void setLatency(Long Latency)
Latency
- The consumption delay of the current partition (in seconds).Copyright © 2025. All rights reserved.