public class LimitRule extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| LimitRule() | 
| LimitRule(LimitRule 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| AccurateQpsThreshold[] | getAccurateQpsThresholds()Get 精确限流阈值 | 
| RuleFilter[] | getFilters()Get 请求匹配条件 | 
| KeyValue[] | getLimitBy()Get 参数限流依据组合 | 
| QpsThreshold[] | getQpsThresholds()Get 限流阈值 | 
| void | setAccurateQpsThresholds(AccurateQpsThreshold[] AccurateQpsThresholds)Set 精确限流阈值 | 
| void | setFilters(RuleFilter[] Filters)Set 请求匹配条件 | 
| void | setLimitBy(KeyValue[] LimitBy)Set 参数限流依据组合 | 
| void | setQpsThresholds(QpsThreshold[] QpsThresholds)Set 限流阈值 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic LimitRule()
public LimitRule(LimitRule source)
public RuleFilter[] getFilters()
public void setFilters(RuleFilter[] Filters)
Filters - 请求匹配条件public KeyValue[] getLimitBy()
public void setLimitBy(KeyValue[] LimitBy)
LimitBy - 参数限流依据组合public QpsThreshold[] getQpsThresholds()
public void setQpsThresholds(QpsThreshold[] QpsThresholds)
QpsThresholds - 限流阈值public AccurateQpsThreshold[] getAccurateQpsThresholds()
public void setAccurateQpsThresholds(AccurateQpsThreshold[] AccurateQpsThresholds)
AccurateQpsThresholds - 精确限流阈值Copyright © 2025. All rights reserved.