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 Starting offset
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getEndOffset()
Get Ending offset
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getInSyncReplica()
Get ISR
|
Long |
getLeader()
Get Leader ID
|
Long |
getMessageCount()
Get Number of messages
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getOutOfSyncReplica()
Get Unsynced replica set
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getPartition()
Get Partition name
|
String |
getReplica()
Get Replica set
|
void |
setBeginOffset(Long BeginOffset)
Set Starting offset
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setEndOffset(Long EndOffset)
Set Ending offset
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setInSyncReplica(String InSyncReplica)
Set ISR
|
void |
setLeader(Long Leader)
Set Leader ID
|
void |
setMessageCount(Long MessageCount)
Set Number of messages
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setOutOfSyncReplica(String OutOfSyncReplica)
Set Unsynced replica set
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setPartition(String Partition)
Set Partition name
|
void |
setReplica(String Replica)
Set 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
- Partition namepublic Long getLeader()
public void setLeader(Long Leader)
Leader
- Leader IDpublic String getReplica()
public void setReplica(String Replica)
Replica
- Replica setpublic String getInSyncReplica()
public void setInSyncReplica(String InSyncReplica)
InSyncReplica
- ISRpublic Long getBeginOffset()
public void setBeginOffset(Long BeginOffset)
BeginOffset
- Starting offset
Note: this field may return null, indicating that no valid values can be obtained.public Long getEndOffset()
public void setEndOffset(Long EndOffset)
EndOffset
- Ending offset
Note: this field may return null, indicating that no valid values can be obtained.public Long getMessageCount()
public void setMessageCount(Long MessageCount)
MessageCount
- Number of messages
Note: this field may return null, indicating that no valid values can be obtained.public String getOutOfSyncReplica()
public void setOutOfSyncReplica(String OutOfSyncReplica)
OutOfSyncReplica
- Unsynced replica set
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.