public class MigrateDetailInfo extends AbstractModel
skipSign
Constructor and Description |
---|
MigrateDetailInfo() |
MigrateDetailInfo(MigrateDetailInfo 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 |
getMasterSlaveDistance()
Get Source-replica lag in MB.
|
Long |
getSecondsBehindMaster()
Get Source-replica lag in seconds.
|
Long |
getStepAll()
Get Total number of steps
Note: This field may return null, indicating that no valid values can be obtained.
|
StepDetailInfo[] |
getStepInfo()
Get Step information
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getStepNow()
Get Current step
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMasterSlaveDistance(Long MasterSlaveDistance)
Set Source-replica lag in MB.
|
void |
setSecondsBehindMaster(Long SecondsBehindMaster)
Set Source-replica lag in seconds.
|
void |
setStepAll(Long StepAll)
Set Total number of steps
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStepInfo(StepDetailInfo[] StepInfo)
Set Step information
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStepNow(Long StepNow)
Set Current step
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public MigrateDetailInfo()
public MigrateDetailInfo(MigrateDetailInfo source)
public Long getStepAll()
public void setStepAll(Long StepAll)
StepAll
- Total number of steps
Note: This field may return null, indicating that no valid values can be obtained.public Long getStepNow()
public void setStepNow(Long StepNow)
StepNow
- Current step
Note: This field may return null, indicating that no valid values can be obtained.public Long getMasterSlaveDistance()
public void setMasterSlaveDistance(Long MasterSlaveDistance)
MasterSlaveDistance
- Source-replica lag in MB. This parameter takes effect only when the task is normal and is in the last step of migration or sync (binlog sync). If it is invalid, `-1` will be returned.
Note: This field may return null, indicating that no valid values can be obtained.public Long getSecondsBehindMaster()
public void setSecondsBehindMaster(Long SecondsBehindMaster)
SecondsBehindMaster
- Source-replica lag in seconds. This parameter takes effect only when the task is normal and is in the last step of migration or sync (binlog sync). If it is invalid, `-1` will be returned.
Note: This field may return null, indicating that no valid values can be obtained.public StepDetailInfo[] getStepInfo()
public void setStepInfo(StepDetailInfo[] StepInfo)
StepInfo
- Step information
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.