public class SubMigrationRule extends Object
| Constructor and Description |
|---|
SubMigrationRule() |
SubMigrationRule(String serviceKey,
MigrationStep step,
Float threshold,
Integer proportion) |
| Modifier and Type | Method and Description |
|---|---|
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–2022 The Apache Software Foundation. All rights reserved.