public class MockInvokersSelector extends AbstractRouter
| Constructor and Description |
|---|
MockInvokersSelector() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
Router's priority, used to sort routers.
|
<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.
|
getUrl, isForce, isRuntime, setConfiguration, setForce, setPriority, setUrlpublic static final String NAME
public <T> List<Invoker<T>> route(List<Invoker<T>> invokers, org.apache.dubbo.common.URL url, Invocation invocation) throws RpcException
Routerinvokers - invoker listurl - refer urlinvocation - invocationRpcExceptionpublic int getPriority()
RoutergetPriority in interface RoutergetPriority in class AbstractRouterCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.