Package com.alibaba.dubbo.rpc.cluster
Interface Router
- All Superinterfaces:
Comparable<org.apache.dubbo.rpc.cluster.Router>,org.apache.dubbo.rpc.cluster.Router
Deprecated.
-
Field Summary
Fields inherited from interface org.apache.dubbo.rpc.cluster.Router
DEFAULT_PRIORITY -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.default intcompareTo(org.apache.dubbo.rpc.cluster.Router o) Deprecated.default intDeprecated.getUrl()Deprecated.default booleanisForce()Deprecated.default booleanDeprecated.route(List<Invoker<T>> invokers, URL url, Invocation invocation) Deprecated.default <T> List<org.apache.dubbo.rpc.Invoker<T>> route(List<org.apache.dubbo.rpc.Invoker<T>> invokers, org.apache.dubbo.common.URL url, org.apache.dubbo.rpc.Invocation invocation) Deprecated.Methods inherited from interface org.apache.dubbo.rpc.cluster.Router
notify, route, stop
-
Method Details
-
getUrl
URL getUrl()Deprecated.- Specified by:
getUrlin interfaceorg.apache.dubbo.rpc.cluster.Router
-
route
<T> List<Invoker<T>> route(List<Invoker<T>> invokers, URL url, Invocation invocation) throws RpcException Deprecated.- Throws:
RpcException
-
compareTo
Deprecated. -
route
default <T> List<org.apache.dubbo.rpc.Invoker<T>> route(List<org.apache.dubbo.rpc.Invoker<T>> invokers, org.apache.dubbo.common.URL url, org.apache.dubbo.rpc.Invocation invocation) throws org.apache.dubbo.rpc.RpcException Deprecated.- Specified by:
routein interfaceorg.apache.dubbo.rpc.cluster.Router- Throws:
org.apache.dubbo.rpc.RpcException
-
isRuntime
default boolean isRuntime()Deprecated.- Specified by:
isRuntimein interfaceorg.apache.dubbo.rpc.cluster.Router
-
isForce
default boolean isForce()Deprecated.- Specified by:
isForcein interfaceorg.apache.dubbo.rpc.cluster.Router
-
getPriority
default int getPriority()Deprecated.- Specified by:
getPriorityin interfaceorg.apache.dubbo.rpc.cluster.Router
-
compareTo
default int compareTo(org.apache.dubbo.rpc.cluster.Router o) Deprecated.- Specified by:
compareToin interfaceComparable<org.apache.dubbo.rpc.cluster.Router>- Specified by:
compareToin interfaceorg.apache.dubbo.rpc.cluster.Router
-