| Modifier and Type | Method and Description |
|---|---|
Router |
CacheableRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
Router |
RouterFactory.getRouter(org.apache.dubbo.common.URL url)
Create router.
|
| Modifier and Type | Method and Description |
|---|---|
default int |
Router.compareTo(Router o) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRouter |
| Modifier and Type | Class and Description |
|---|---|
class |
AddressInvokersSelector |
| Modifier and Type | Method and Description |
|---|---|
Router |
AddressRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| Modifier and Type | Class and Description |
|---|---|
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/ .
|
| Modifier and Type | Method and Description |
|---|---|
Router |
ConditionRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| Modifier and Type | Class and Description |
|---|---|
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"
|
| Modifier and Type | Method and Description |
|---|---|
Router |
AppRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| Modifier and Type | Method and Description |
|---|---|
Router |
FileRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| Modifier and Type | Class and Description |
|---|---|
class |
MockInvokersSelector
A specific Router designed to realize mock feature.
|
| Modifier and Type | Method and Description |
|---|---|
Router |
MockRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| Modifier and Type | Class and Description |
|---|---|
class |
ScriptRouter
ScriptRouter
|
| Modifier and Type | Method and Description |
|---|---|
Router |
ScriptRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| Modifier and Type | Class and Description |
|---|---|
class |
TagRouter
TagRouter, "application.tag-router"
|
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.