Uses of Interface
org.apache.dubbo.rpc.cluster.Router
Packages that use Router
-
Uses of Router in org.apache.dubbo.rpc.cluster
Methods in org.apache.dubbo.rpc.cluster that return RouterModifier and TypeMethodDescriptionCacheableRouterFactory.getRouter(org.apache.dubbo.common.URL url) RouterFactory.getRouter(org.apache.dubbo.common.URL url) Create router.Methods in org.apache.dubbo.rpc.cluster that return types with arguments of type RouterMethods in org.apache.dubbo.rpc.cluster with parameters of type RouterMethod parameters in org.apache.dubbo.rpc.cluster with type arguments of type RouterModifier and TypeMethodDescriptionvoidRouterChain.addRouters(List<Router> routers) voidSingleRouterChain.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.voidSingleRouterChain.initWithRouters(List<Router> builtinRouters) the resident routers must being initialized before address notification.Constructor parameters in org.apache.dubbo.rpc.cluster with type arguments of type RouterModifierConstructorDescriptionSingleRouterChain(List<Router> routers, List<StateRouter<T>> stateRouters, boolean shouldFailFast, RouterSnapshotSwitcher routerSnapshotSwitcher) -
Uses of Router in org.apache.dubbo.rpc.cluster.router
Classes in org.apache.dubbo.rpc.cluster.router that implement Router