Package org.apache.dubbo.rpc.cluster
Class CacheableRouterFactory
java.lang.Object
org.apache.dubbo.rpc.cluster.CacheableRouterFactory
- All Implemented Interfaces:
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.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CacheableRouterFactory
public CacheableRouterFactory()
-
-
Method Details
-
getRouter
Description copied from interface:RouterFactoryCreate router. Since 2.7.0, most of the time, we will not use @Adaptive feature, so it's kept only for compatibility.- Specified by:
getRouterin interfaceRouterFactory- Parameters:
url- url- Returns:
- router instance
-