| 限定符和类型 | 方法和说明 |
|---|---|
Router |
RouterFactory.getRouter(org.apache.dubbo.common.URL url)
Create router.
|
Router |
CacheableRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
default int |
Router.compareTo(Router o) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RouterChain.addRouters(List<Router> routers)
If we use route:// protocol in version before 2.7.0, each URL will generate a Router instance, so we should
keep the routers up to date, that is, each time router URLs changes, we should update the routers list, only
keep the builtinRouters which are available all the time and the latest notified routers which are generated
from URLs.
|
void |
RouterChain.initWithRouters(List<Router> builtinRouters)
the resident routers must being initialized before address notification.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractRouter |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AddressInvokersSelector |
| 限定符和类型 | 方法和说明 |
|---|---|
Router |
AddressRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConditionRouter
ConditionRouter
It supports the conditional routing configured by "override://", in 2.6.x,
refer to https://dubbo.apache.org/en/docs/v2.7/user/examples/routing-rule/ .
|
| 限定符和类型 | 方法和说明 |
|---|---|
Router |
ConditionRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AppRouter
Application level router, "application.condition-router"
|
class |
ListenableRouter
Abstract router which listens to dynamic configuration
|
class |
ServiceRouter
Service level router, "server-unique-name.condition-router"
|
| 限定符和类型 | 方法和说明 |
|---|---|
Router |
AppRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
Router |
FileRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
MockInvokersSelector
A specific Router designed to realize mock feature.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Router |
MockRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ScriptRouter
ScriptRouter
|
| 限定符和类型 | 方法和说明 |
|---|---|
Router |
ScriptRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
TagRouter
TagRouter, "application.tag-router"
|
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.