public class MockInvokersSelector extends AbstractRouter
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
DEFAULT_PRIORITY| Constructor and Description |
|---|
MockInvokersSelector() |
| Modifier and Type | Method and Description |
|---|---|
<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.
|
getPriority, getUrl, isForce, isRuntime, 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 - invocationRpcExceptionCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.