Class QpsThreshold

    • Constructor Detail

      • QpsThreshold

        public QpsThreshold()
      • QpsThreshold

        public QpsThreshold​(QpsThreshold source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getUnit

        public String getUnit()
        Get qps阈值控制维度,包含:second、minute、hour、day、month、year
        Returns:
        Unit qps阈值控制维度,包含:second、minute、hour、day、month、year
      • setUnit

        public void setUnit​(String Unit)
        Set qps阈值控制维度,包含:second、minute、hour、day、month、year
        Parameters:
        Unit - qps阈值控制维度,包含:second、minute、hour、day、month、year
      • getMax

        public Long getMax()
        Get 阈值
        Returns:
        Max 阈值
      • setMax

        public void setMax​(Long Max)
        Set 阈值
        Parameters:
        Max - 阈值