接口 Router
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 int
getPriority()
Router's priority, used to sort routers.URL
getUrl()
get the router url.<T> <Invoker<T>>
<Invoker<T>> invokers, URL url, Invocation invocation)
route.
-
-
-
方法详细资料
-
getUrl
URL getUrl()
get the router url.- 返回:
- url
-
route
<T> <<Invoker<T>> invokers, URL url, Invocation invocation) throws RpcException
route.- 参数:
invokers
-url
- refer urlinvocation
-- 返回:
- routed invokers
- 抛出:
RpcException
-
getPriority
int getPriority()
Router's priority, used to sort routers.- 返回:
- router's priority
-
-