类 ParamFlowClusterConfig
java.lang.Object
com.alibaba.csp.sentinel.slots.block.flow.param.ParamFlowClusterConfig
Parameter flow rule config in cluster mode.
- 从以下版本开始:
- 1.4.0
- 作者:
- Eric Zhao
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanintintintinthashCode()booleansetFallbackToLocalWhenFail(boolean fallbackToLocalWhenFail) setSampleCount(int sampleCount) setThresholdType(int thresholdType) setWindowIntervalMs(int windowIntervalMs) toString()
-
构造器详细资料
-
ParamFlowClusterConfig
public ParamFlowClusterConfig()
-
-
方法详细资料
-
getFlowId
-
setFlowId
-
getThresholdType
public int getThresholdType() -
setThresholdType
-
isFallbackToLocalWhenFail
public boolean isFallbackToLocalWhenFail() -
setFallbackToLocalWhenFail
-
getSampleCount
public int getSampleCount() -
setSampleCount
-
getWindowIntervalMs
public int getWindowIntervalMs() -
setWindowIntervalMs
-
equals
-
hashCode
public int hashCode() -
toString
-