类 ServerFlowConfig

java.lang.Object
com.alibaba.csp.sentinel.cluster.server.config.ServerFlowConfig

public class ServerFlowConfig extends Object
从以下版本开始:
1.4.0
作者:
Eric Zhao
  • 字段详细资料

    • 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

      public ServerFlowConfig(String namespace)
  • 方法详细资料

    • getNamespace

      public String getNamespace()
    • getExceedCount

      public double getExceedCount()
    • setExceedCount

      public ServerFlowConfig setExceedCount(double exceedCount)
    • getMaxOccupyRatio

      public double getMaxOccupyRatio()
    • setMaxOccupyRatio

      public ServerFlowConfig setMaxOccupyRatio(double maxOccupyRatio)
    • getIntervalMs

      public int getIntervalMs()
    • setIntervalMs

      public ServerFlowConfig setIntervalMs(int intervalMs)
    • getSampleCount

      public int getSampleCount()
    • setSampleCount

      public ServerFlowConfig setSampleCount(int sampleCount)
    • getMaxAllowedQps

      public double getMaxAllowedQps()
    • setMaxAllowedQps

      public ServerFlowConfig setMaxAllowedQps(double maxAllowedQps)
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object