类 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.
    • 构造器详细资料

      • CacheableRouterFactory

        public CacheableRouterFactory()
    • 方法详细资料

      • getRouter

        public Router getRouter​(org.apache.dubbo.common.URL url)
        从接口复制的说明: RouterFactory
        Create 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