| Package | Description |
|---|---|
| com.alibaba.csp.sentinel.command.handler | |
| com.alibaba.csp.sentinel.slots.block.flow.param |
| Modifier and Type | Method and Description |
|---|---|
static com.alibaba.csp.sentinel.datasource.WritableDataSource<List<ParamFlowRule>> |
ModifyParamFlowRulesCommandHandler.getWritableDataSource() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ModifyParamFlowRulesCommandHandler.setWritableDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<List<ParamFlowRule>> hotParamWds) |
| Modifier and Type | Method and Description |
|---|---|
ParamFlowRule |
ParamFlowException.getRule()
Get triggered rule.
|
ParamFlowRule |
ParamFlowRule.setClusterConfig(ParamFlowClusterConfig clusterConfig) |
ParamFlowRule |
ParamFlowRule.setClusterMode(boolean clusterMode) |
ParamFlowRule |
ParamFlowRule.setCount(double count) |
ParamFlowRule |
ParamFlowRule.setGrade(int grade) |
ParamFlowRule |
ParamFlowRule.setParamFlowItemList(List<ParamFlowItem> paramFlowItemList) |
ParamFlowRule |
ParamFlowRule.setParamIdx(Integer paramIdx) |
| Modifier and Type | Method and Description |
|---|---|
static List<ParamFlowRule> |
ParamFlowRuleManager.getRules()
Get a copy of the rules.
|
static List<ParamFlowRule> |
ParamFlowRuleManager.getRulesOfResource(String resourceName) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ParamFlowRuleUtil.fillExceptionFlowItems(ParamFlowRule rule) |
static boolean |
ParamFlowRuleUtil.isValidRule(ParamFlowRule rule) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ParamFlowRuleManager.loadRules(List<ParamFlowRule> rules)
Load parameter flow rules.
|
static void |
ParamFlowRuleManager.register2Property(SentinelProperty<List<ParamFlowRule>> property)
Listen to the
SentinelProperty for ParamFlowRules. |
| Constructor and Description |
|---|
ParamFlowException(String resourceName,
String param,
ParamFlowRule rule) |
Copyright © 2019 Alibaba Group. All rights reserved.