public class SentinelCoreResourceImpl extends Object implements SentinelCoreResource
| 构造器和说明 |
|---|
SentinelCoreResourceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearAuthorityRules() |
void |
clearDegradeRules() |
void |
clearFlowRules() |
void |
clearSystemRules() |
void |
updateAuthorityRules(String rule) |
void |
updateDegradeRules(String rule) |
void |
updateFlowRules(String rule) |
void |
updateSystemRules(String rule) |
List<com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule> |
viewAuthorityRules() |
List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule> |
viewDegradeRules() |
List<com.alibaba.csp.sentinel.slots.block.flow.FlowRule> |
viewFlowRules() |
List<com.alibaba.csp.sentinel.slots.system.SystemRule> |
viewSystemRules() |
public void updateFlowRules(String rule)
updateFlowRules 在接口中 SentinelCoreResourcepublic void clearFlowRules()
clearFlowRules 在接口中 SentinelCoreResourcepublic List<com.alibaba.csp.sentinel.slots.block.flow.FlowRule> viewFlowRules()
viewFlowRules 在接口中 SentinelCoreResourcepublic void updateDegradeRules(String rule)
updateDegradeRules 在接口中 SentinelCoreResourcepublic void clearDegradeRules()
clearDegradeRules 在接口中 SentinelCoreResourcepublic List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule> viewDegradeRules()
viewDegradeRules 在接口中 SentinelCoreResourcepublic void updateAuthorityRules(String rule)
updateAuthorityRules 在接口中 SentinelCoreResourcepublic void clearAuthorityRules()
clearAuthorityRules 在接口中 SentinelCoreResourcepublic List<com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule> viewAuthorityRules()
viewAuthorityRules 在接口中 SentinelCoreResourcepublic void updateSystemRules(String rule)
updateSystemRules 在接口中 SentinelCoreResourcepublic void clearSystemRules()
clearSystemRules 在接口中 SentinelCoreResourcepublic List<com.alibaba.csp.sentinel.slots.system.SystemRule> viewSystemRules()
viewSystemRules 在接口中 SentinelCoreResourceCopyright © 2022 Nepxion. All rights reserved.