public class SubMigrationRule extends Object
| 构造器和说明 |
|---|
SubMigrationRule() |
SubMigrationRule(String serviceKey,
MigrationStep step,
Float threshold,
Integer proportion) |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
getDelay() |
Boolean |
getForce() |
Integer |
getProportion() |
String |
getServiceKey() |
MigrationStep |
getStep() |
Float |
getThreshold() |
static SubMigrationRule |
parseFromMap(Map<String,Object> map) |
void |
setDelay(Integer delay) |
void |
setForce(Boolean force) |
void |
setProportion(Integer proportion) |
void |
setServiceKey(String serviceKey) |
void |
setStep(MigrationStep step) |
void |
setThreshold(Float threshold) |
public SubMigrationRule()
public SubMigrationRule(String serviceKey, MigrationStep step, Float threshold, Integer proportion)
public static SubMigrationRule parseFromMap(Map<String,Object> map)
public String getServiceKey()
public void setServiceKey(String serviceKey)
public MigrationStep getStep()
public void setStep(MigrationStep step)
public Float getThreshold()
public void setThreshold(Float threshold)
public Integer getProportion()
public void setProportion(Integer proportion)
public Integer getDelay()
public void setDelay(Integer delay)
public Boolean getForce()
public void setForce(Boolean force)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.