public class TopicInSyncReplicaInfo extends AbstractModel
Constructor and Description |
---|
TopicInSyncReplicaInfo() |
TopicInSyncReplicaInfo(TopicInSyncReplicaInfo 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 |
getBeginOffset()
Get 起始Offset
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getEndOffset()
Get 末端Offset
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getInSyncReplica()
Get ISR
|
Long |
getLeader()
Get Leader Id
|
Long |
getMessageCount()
Get 消息数
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getOutOfSyncReplica()
Get 未同步副本集
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getPartition()
Get 分区名称
|
String |
getReplica()
Get 副本集
|
void |
setBeginOffset(Long BeginOffset)
Set 起始Offset
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setEndOffset(Long EndOffset)
Set 末端Offset
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setInSyncReplica(String InSyncReplica)
Set ISR
|
void |
setLeader(Long Leader)
Set Leader Id
|
void |
setMessageCount(Long MessageCount)
Set 消息数
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setOutOfSyncReplica(String OutOfSyncReplica)
Set 未同步副本集
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPartition(String Partition)
Set 分区名称
|
void |
setReplica(String Replica)
Set 副本集
|
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 TopicInSyncReplicaInfo()
public TopicInSyncReplicaInfo(TopicInSyncReplicaInfo source)
public String getPartition()
public void setPartition(String Partition)
Partition
- 分区名称public Long getLeader()
public void setLeader(Long Leader)
Leader
- Leader Idpublic String getReplica()
public void setReplica(String Replica)
Replica
- 副本集public String getInSyncReplica()
public void setInSyncReplica(String InSyncReplica)
InSyncReplica
- ISRpublic Long getBeginOffset()
public void setBeginOffset(Long BeginOffset)
BeginOffset
- 起始Offset
注意:此字段可能返回 null,表示取不到有效值。public Long getEndOffset()
public void setEndOffset(Long EndOffset)
EndOffset
- 末端Offset
注意:此字段可能返回 null,表示取不到有效值。public Long getMessageCount()
public void setMessageCount(Long MessageCount)
MessageCount
- 消息数
注意:此字段可能返回 null,表示取不到有效值。public String getOutOfSyncReplica()
public void setOutOfSyncReplica(String OutOfSyncReplica)
OutOfSyncReplica
- 未同步副本集
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.