| Modifier and Type | Method and Description |
|---|---|
static com.alibaba.csp.sentinel.datasource.WritableDataSource<Set<GatewayFlowRule>> |
UpdateGatewayRuleCommandHandler.getWritableDataSource() |
| Modifier and Type | Method and Description |
|---|---|
static void |
UpdateGatewayRuleCommandHandler.setWritableDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<Set<GatewayFlowRule>> gatewayFlowWds) |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
GatewayParamParser.parseParameterFor(String resource,
T request,
Predicate<GatewayFlowRule> rulePredicate)
Parse parameters for given resource from the request entity on condition of the rule predicate.
|
| Modifier and Type | Method and Description |
|---|---|
GatewayFlowRule |
GatewayFlowRule.setBurst(int burst) |
GatewayFlowRule |
GatewayFlowRule.setControlBehavior(int controlBehavior) |
GatewayFlowRule |
GatewayFlowRule.setCount(double count) |
GatewayFlowRule |
GatewayFlowRule.setGrade(int grade) |
GatewayFlowRule |
GatewayFlowRule.setIntervalSec(long intervalSec) |
GatewayFlowRule |
GatewayFlowRule.setMaxQueueingTimeoutMs(int maxQueueingTimeoutMs) |
GatewayFlowRule |
GatewayFlowRule.setParamItem(GatewayParamFlowItem paramItem) |
GatewayFlowRule |
GatewayFlowRule.setResource(String resource) |
GatewayFlowRule |
GatewayFlowRule.setResourceMode(int resourceMode) |
| Modifier and Type | Method and Description |
|---|---|
static Set<GatewayFlowRule> |
GatewayRuleManager.getRules() |
static Set<GatewayFlowRule> |
GatewayRuleManager.getRulesForResource(String resourceName) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
GatewayRuleManager.isValidRule(GatewayFlowRule rule) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
GatewayRuleManager.loadRules(Set<GatewayFlowRule> rules)
Load all provided gateway rules into memory, while
previous rules will be replaced.
|
static void |
GatewayRuleManager.register2Property(SentinelProperty<Set<GatewayFlowRule>> property) |
Copyright © 2021 Alibaba Group. All rights reserved.