public class TopicPartitionDO extends AbstractModel
Constructor and Description |
---|
TopicPartitionDO() |
TopicPartitionDO(TopicPartitionDO 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 |
getIsrNum()
Get ISR quantity
|
Long |
getLeaderStatus()
Get Leader running status
|
Long |
getPartition()
Get Partition ID
|
Long |
getReplicaNum()
Get Number of replicas
|
void |
setIsrNum(Long IsrNum)
Set ISR quantity
|
void |
setLeaderStatus(Long LeaderStatus)
Set Leader running status
|
void |
setPartition(Long Partition)
Set Partition ID
|
void |
setReplicaNum(Long ReplicaNum)
Set Number of replicas
|
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 TopicPartitionDO()
public TopicPartitionDO(TopicPartitionDO source)
public Long getPartition()
public void setPartition(Long Partition)
Partition
- Partition IDpublic Long getLeaderStatus()
public void setLeaderStatus(Long LeaderStatus)
LeaderStatus
- Leader running statuspublic Long getIsrNum()
public void setIsrNum(Long IsrNum)
IsrNum
- ISR quantitypublic Long getReplicaNum()
public void setReplicaNum(Long ReplicaNum)
ReplicaNum
- Number of replicasCopyright © 2023. All rights reserved.