| 程序包 | 说明 |
|---|---|
| net.hasor.rsf.address.route.flowcontrol.random |
流控规则:随机选址。
|
| net.hasor.rsf.address.route.flowcontrol.speed |
流控规则:QoS限流
|
| net.hasor.rsf.address.route.flowcontrol.unit |
流控规则:单元化流量分组
|
| net.hasor.rsf.address.route.rule |
路由规则机制。
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
RandomFlowControl
对于一组备选地址,通过随机的方式选取其中一个地址。
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
SpeedFlowControl
基于QoS的速率控制规则。
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
UnitFlowControl
单元流量控制规则,用来控制跨单元调用。
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractRule
路由规则,配置模版实例:
<flowControl enable="true|false" type="Room">
...
|
| 限定符和类型 | 方法和说明 |
|---|---|
Rule |
RuleParser.ruleSettings(Settings ruleSettings)
解析规则文本为
Settings |
Rule |
RuleParser.ruleSettings(String rawRoute)
解析规则文本为
Settings |
Copyright © 2020–2021. All rights reserved.