| Package | Description |
|---|---|
| org.apache.dubbo.rpc.cluster | |
| org.apache.dubbo.rpc.cluster.router | |
| org.apache.dubbo.rpc.cluster.router.mesh.route |
| Modifier and Type | Method and Description |
|---|---|
Router |
RouterFactory.getRouter(org.apache.dubbo.common.URL url)
Create router.
|
Router |
CacheableRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
| Modifier and Type | Method and Description |
|---|---|
List<Router> |
RouterChain.getRouters() |
| 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 |
MeshRuleRouter |
| Modifier and Type | Method and Description |
|---|---|
Router |
MeshRuleRouterFactory.getRouter(org.apache.dubbo.common.URL url) |
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.