| 程序包 | 说明 |
|---|---|
| com.alibaba.dubbo.registry.common.route |
| 限定符和类型 | 方法和说明 |
|---|---|
static RouteRule |
RouteRule.copyWithRemove(RouteRule copy,
Set<String> whenParams,
Set<String> thenParams) |
static RouteRule |
RouteRule.copyWithReplace(RouteRule copy,
Map<String,RouteRule.MatchPair> whenCondition,
Map<String,RouteRule.MatchPair> thenCondition)
使用新的条件值来替换。
|
static RouteRule |
RouteRule.createFromCondition(Map<String,RouteRule.MatchPair> whenCondition,
Map<String,RouteRule.MatchPair> thenCondition) |
static RouteRule |
RouteRule.createFromNameAndValueListString(Map<String,String> whenParams,
Map<String,String> notWhenParams,
Map<String,String> thenParams,
Map<String,String> notThenParams) |
static RouteRule |
RouteRule.parse(Route route)
把字符串形式的RouteRule的解析成对象。
|
static RouteRule |
RouteRule.parse(String rule) |
static RouteRule |
RouteRule.parse(String whenRule,
String thenRule) |
static RouteRule |
RouteRule.parseQuitely(Route route) |
| 限定符和类型 | 方法和说明 |
|---|---|
static RouteRule |
RouteRule.copyWithRemove(RouteRule copy,
Set<String> whenParams,
Set<String> thenParams) |
static RouteRule |
RouteRule.copyWithReplace(RouteRule copy,
Map<String,RouteRule.MatchPair> whenCondition,
Map<String,RouteRule.MatchPair> thenCondition)
使用新的条件值来替换。
|
static Set<String> |
RouteRuleUtils.filterServiceByRule(List<String> services,
RouteRule rule)
返回被RouteRule的When的service匹配到的Service。
|
Copyright © 2011–2017 Alibaba. All rights reserved.