Interface Router

All Superinterfaces:
Comparable<org.apache.dubbo.rpc.cluster.Router>, org.apache.dubbo.rpc.cluster.Router

@Deprecated public interface Router extends 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 Type
    Method
    Description
    int
    Deprecated.
     
    default int
    compareTo(org.apache.dubbo.rpc.cluster.Router o)
    Deprecated.
     
    default int
    Deprecated.
     
    Deprecated.
     
    default boolean
    Deprecated.
     
    default boolean
    Deprecated.
     
    <T> List<Invoker<T>>
    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:
      getUrl in interface org.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

      int compareTo(Router o)
      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:
      route in interface org.apache.dubbo.rpc.cluster.Router
      Throws:
      org.apache.dubbo.rpc.RpcException
    • isRuntime

      default boolean isRuntime()
      Deprecated.
      Specified by:
      isRuntime in interface org.apache.dubbo.rpc.cluster.Router
    • isForce

      default boolean isForce()
      Deprecated.
      Specified by:
      isForce in interface org.apache.dubbo.rpc.cluster.Router
    • getPriority

      default int getPriority()
      Deprecated.
      Specified by:
      getPriority in interface org.apache.dubbo.rpc.cluster.Router
    • compareTo

      default int compareTo(org.apache.dubbo.rpc.cluster.Router o)
      Deprecated.
      Specified by:
      compareTo in interface Comparable<org.apache.dubbo.rpc.cluster.Router>
      Specified by:
      compareTo in interface org.apache.dubbo.rpc.cluster.Router