| Package | Description |
|---|---|
| com.alibaba.csp.sentinel.slots.block.authority |
| Modifier and Type | Method and Description |
|---|---|
AuthorityRule |
AuthorityException.getRule()
Get triggered rule.
|
AuthorityRule |
AuthorityRule.setStrategy(int strategy) |
| Modifier and Type | Method and Description |
|---|---|
static List<AuthorityRule> |
AuthorityRuleManager.getRules()
Get a copy of the rules.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
AuthorityRuleManager.isValidRule(AuthorityRule rule) |
| Modifier and Type | Method and Description |
|---|---|
static void |
AuthorityRuleManager.loadRules(List<AuthorityRule> rules)
Load the authority rules to memory.
|
static void |
AuthorityRuleManager.register2Property(SentinelProperty<List<AuthorityRule>> property) |
| Constructor and Description |
|---|
AuthorityException(String ruleLimitApp,
AuthorityRule rule) |
Copyright © 2021 Alibaba Group. All rights reserved.