类 CacheableRouterFactory
- java.lang.Object
-
- org.apache.dubbo.rpc.cluster.CacheableRouterFactory
-
- 所有已实现的接口:
RouterFactory
- 直接已知子类:
ServiceRouterFactory,TagRouterFactory
public abstract class CacheableRouterFactory extends Object implements RouterFactory
If you want to provide a router implementation based on design of v2.7.0, please extend from this abstract class. For 2.6.x style router, please implement and use RouterFactory directly.
-
-
方法详细资料
-
getRouter
public Router getRouter(org.apache.dubbo.common.URL url)
从接口复制的说明:RouterFactoryCreate router. Since 2.7.0, most of the time, we will not use @Adaptive feature, so it's kept only for compatibility.- 指定者:
getRouter在接口中RouterFactory- 参数:
url- url- 返回:
- router instance
-
-