| Package | Description |
|---|---|
| com.alibaba.csp.sentinel.slots.block.flow |
| Modifier and Type | Method and Description |
|---|---|
FlowRule |
FlowRule.setControlBehavior(int controlBehavior) |
FlowRule |
FlowRule.setCount(double count) |
FlowRule |
FlowRule.setGrade(int grade) |
FlowRule |
FlowRule.setMaxQueueingTimeMs(int maxQueueingTimeMs) |
FlowRule |
FlowRule.setRater(Controller rater) |
FlowRule |
FlowRule.setRefResource(String refResource) |
FlowRule |
FlowRule.setStrategy(int strategy) |
FlowRule |
FlowRule.setWarmUpPeriodSec(int warmUpPeriodSec) |
| Modifier and Type | Method and Description |
|---|---|
static List<FlowRule> |
FlowRuleManager.getRules()
Get a copy of the rules.
|
| Modifier and Type | Method and Description |
|---|---|
int |
FlowRuleComparator.compare(FlowRule o1,
FlowRule o2) |
| Modifier and Type | Method and Description |
|---|---|
static void |
FlowRuleManager.loadRules(List<FlowRule> rules)
Load
FlowRules, former rules will be replaced. |
static void |
FlowRuleManager.register2Property(SentinelProperty<List<FlowRule>> property)
Listen to the
SentinelProperty for FlowRules. |
Copyright © 2018 Alibaba Group. All rights reserved.