类 ServerFlowConfig
java.lang.Object
com.alibaba.csp.sentinel.cluster.server.config.ServerFlowConfig
- 从以下版本开始:
- 1.4.0
- 作者:
- Eric Zhao
-
字段概要
字段修饰符和类型字段说明static final doublestatic final intstatic final doublestatic final doublestatic final int -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明doubleintdoubledoubleintsetExceedCount(double exceedCount) setIntervalMs(int intervalMs) setMaxAllowedQps(double maxAllowedQps) setMaxOccupyRatio(double maxOccupyRatio) setSampleCount(int sampleCount) toString()
-
字段详细资料
-
DEFAULT_EXCEED_COUNT
public static final double DEFAULT_EXCEED_COUNT- 另请参阅:
-
DEFAULT_MAX_OCCUPY_RATIO
public static final double DEFAULT_MAX_OCCUPY_RATIO- 另请参阅:
-
DEFAULT_INTERVAL_MS
public static final int DEFAULT_INTERVAL_MS- 另请参阅:
-
DEFAULT_SAMPLE_COUNT
public static final int DEFAULT_SAMPLE_COUNT- 另请参阅:
-
DEFAULT_MAX_ALLOWED_QPS
public static final double DEFAULT_MAX_ALLOWED_QPS- 另请参阅:
-
-
构造器详细资料
-
ServerFlowConfig
public ServerFlowConfig() -
ServerFlowConfig
-
-
方法详细资料
-
getNamespace
-
getExceedCount
public double getExceedCount() -
setExceedCount
-
getMaxOccupyRatio
public double getMaxOccupyRatio() -
setMaxOccupyRatio
-
getIntervalMs
public int getIntervalMs() -
setIntervalMs
-
getSampleCount
public int getSampleCount() -
setSampleCount
-
getMaxAllowedQps
public double getMaxAllowedQps() -
setMaxAllowedQps
-
toString
-