| Constructor and Description |
|---|
Config() |
Config(Config config,
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CbPolicy.ErrRateConfig errRateConfig) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getErrorRateThreshold() |
double |
getErrRate() |
Integer |
getMetricNumBuckets() |
Integer |
getRequestVolumeThreshold() |
void |
setDefault(Object defaultObject) |
void |
setErrorRateThreshold(Integer errorRateThreshold) |
void |
setMetricNumBuckets(Integer metricNumBuckets) |
void |
setRequestVolumeThreshold(Integer requestVolumeThreshold) |
String |
toString() |
void |
verify() |
public Config()
public Config(Config config, com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CbPolicy.ErrRateConfig errRateConfig)
public Integer getRequestVolumeThreshold()
public void setRequestVolumeThreshold(Integer requestVolumeThreshold)
public Integer getErrorRateThreshold()
public double getErrRate()
public void setErrorRateThreshold(Integer errorRateThreshold)
public Integer getMetricNumBuckets()
public void setMetricNumBuckets(Integer metricNumBuckets)
public void setDefault(Object defaultObject)
setDefault in interface VerifierCopyright © 2023. All rights reserved.