| 程序包 | 说明 |
|---|---|
| org.apache.dubbo.rpc.cluster.router.state | |
| org.apache.dubbo.rpc.cluster.router.tag |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> RouterCache<T> |
StateRouter.pool(List<Invoker<T>> invokers) |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,RouterCache<T>> |
AddrCache.getCache() |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> BitList<Invoker<T>> |
StateRouter.route(BitList<Invoker<T>> invokers,
RouterCache<T> cache,
org.apache.dubbo.common.URL url,
Invocation invocation)
Filter invokers with current routing rule and only return the invokers that comply with the rule.
|
<T> BitList<Invoker<T>> |
AbstractStateRouter.route(BitList<Invoker<T>> invokers,
RouterCache<T> cache,
org.apache.dubbo.common.URL url,
Invocation invocation) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AddrCache.setCache(Map<String,RouterCache<T>> cache) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> RouterCache<T> |
TagStaticStateRouter.pool(List<Invoker<T>> invokers) |
<T> RouterCache<T> |
TagDynamicStateRouter.pool(List<Invoker<T>> invokers) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> BitList<Invoker<T>> |
TagStaticStateRouter.route(BitList<Invoker<T>> invokers,
RouterCache<T> routerCache,
org.apache.dubbo.common.URL url,
Invocation invocation) |
<T> BitList<Invoker<T>> |
TagDynamicStateRouter.route(BitList<Invoker<T>> invokers,
RouterCache<T> cache,
org.apache.dubbo.common.URL url,
Invocation invocation) |
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.