类 AddressInvokersSelector
- java.lang.Object
-
- org.apache.dubbo.rpc.cluster.router.AbstractRouter
-
- org.apache.dubbo.rpc.cluster.router.address.AddressInvokersSelector
-
- 所有已实现的接口:
Comparable<Router>,Router
public class AddressInvokersSelector extends AbstractRouter
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringNAME-
从接口继承的字段 org.apache.dubbo.rpc.cluster.Router
DEFAULT_PRIORITY
-
-
构造器概要
构造器 构造器 说明 AddressInvokersSelector()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 <T> List<Invoker<T>>route(List<Invoker<T>> invokers, org.apache.dubbo.common.URL url, Invocation invocation)Filter invokers with current routing rule and only return the invokers that comply with the rule.-
从类继承的方法 org.apache.dubbo.rpc.cluster.router.AbstractRouter
getPriority, getUrl, isForce, isRuntime, setForce, setPriority, setUrl
-
-
-
-
方法详细资料
-
route
public <T> List<Invoker<T>> route(List<Invoker<T>> invokers, org.apache.dubbo.common.URL url, Invocation invocation) throws RpcException
从接口复制的说明:RouterFilter invokers with current routing rule and only return the invokers that comply with the rule.- 参数:
invokers- invoker listurl- refer urlinvocation- invocation- 返回:
- routed invokers
- 抛出:
RpcException
-
-