Class MigrateDetailInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dts.v20180330.models.MigrateDetailInfo
-
public class MigrateDetailInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCurrentStepProgress()Get 当前步骤进度,如:"1"LonggetMasterSlaveDistance()Get 主从差距,MB;在增量同步阶段有效,目前支持产品为:redis和mysqlStringgetProgress()Get 总进度,如:"10"LonggetSecondsBehindMaster()Get 主从差距,秒;在增量同步阶段有效,目前支持产品为:mysqlLonggetStepAll()Get 总步骤数MigrateStepDetailInfo[]getStepInfo()Get 步骤信息LonggetStepNow()Get 当前步骤voidsetCurrentStepProgress(String CurrentStepProgress)Set 当前步骤进度,如:"1"voidsetMasterSlaveDistance(Long MasterSlaveDistance)Set 主从差距,MB;在增量同步阶段有效,目前支持产品为:redis和mysqlvoidsetProgress(String Progress)Set 总进度,如:"10"voidsetSecondsBehindMaster(Long SecondsBehindMaster)Set 主从差距,秒;在增量同步阶段有效,目前支持产品为:mysqlvoidsetStepAll(Long StepAll)Set 总步骤数voidsetStepInfo(MigrateStepDetailInfo[] StepInfo)Set 步骤信息voidsetStepNow(Long StepNow)Set 当前步骤voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
MigrateDetailInfo
public MigrateDetailInfo()
-
MigrateDetailInfo
public 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.
-
-
Method Detail
-
getStepAll
public Long getStepAll()
Get 总步骤数- Returns:
- StepAll 总步骤数
-
setStepAll
public void setStepAll(Long StepAll)
Set 总步骤数- Parameters:
StepAll- 总步骤数
-
getStepNow
public Long getStepNow()
Get 当前步骤- Returns:
- StepNow 当前步骤
-
setStepNow
public void setStepNow(Long StepNow)
Set 当前步骤- Parameters:
StepNow- 当前步骤
-
getProgress
public String getProgress()
Get 总进度,如:"10"- Returns:
- Progress 总进度,如:"10"
-
setProgress
public void setProgress(String Progress)
Set 总进度,如:"10"- Parameters:
Progress- 总进度,如:"10"
-
getCurrentStepProgress
public String getCurrentStepProgress()
Get 当前步骤进度,如:"1"- Returns:
- CurrentStepProgress 当前步骤进度,如:"1"
-
setCurrentStepProgress
public void setCurrentStepProgress(String CurrentStepProgress)
Set 当前步骤进度,如:"1"- Parameters:
CurrentStepProgress- 当前步骤进度,如:"1"
-
getMasterSlaveDistance
public Long getMasterSlaveDistance()
Get 主从差距,MB;在增量同步阶段有效,目前支持产品为:redis和mysql- Returns:
- MasterSlaveDistance 主从差距,MB;在增量同步阶段有效,目前支持产品为:redis和mysql
-
setMasterSlaveDistance
public void setMasterSlaveDistance(Long MasterSlaveDistance)
Set 主从差距,MB;在增量同步阶段有效,目前支持产品为:redis和mysql- Parameters:
MasterSlaveDistance- 主从差距,MB;在增量同步阶段有效,目前支持产品为:redis和mysql
-
getSecondsBehindMaster
public Long getSecondsBehindMaster()
Get 主从差距,秒;在增量同步阶段有效,目前支持产品为:mysql- Returns:
- SecondsBehindMaster 主从差距,秒;在增量同步阶段有效,目前支持产品为:mysql
-
setSecondsBehindMaster
public void setSecondsBehindMaster(Long SecondsBehindMaster)
Set 主从差距,秒;在增量同步阶段有效,目前支持产品为:mysql- Parameters:
SecondsBehindMaster- 主从差距,秒;在增量同步阶段有效,目前支持产品为:mysql
-
getStepInfo
public MigrateStepDetailInfo[] getStepInfo()
Get 步骤信息- Returns:
- StepInfo 步骤信息
-
setStepInfo
public void setStepInfo(MigrateStepDetailInfo[] StepInfo)
Set 步骤信息- Parameters:
StepInfo- 步骤信息
-
-