Class Invoker.CompatibleInvoker<T>

java.lang.Object
com.alibaba.dubbo.rpc.Invoker.CompatibleInvoker<T>
All Implemented Interfaces:
Invoker<T>, org.apache.dubbo.common.Node, org.apache.dubbo.rpc.Invoker<T>
Enclosing interface:
Invoker<T>

public static class Invoker.CompatibleInvoker<T> extends Object implements Invoker<T>
  • Constructor Details

    • CompatibleInvoker

      public CompatibleInvoker(org.apache.dubbo.rpc.Invoker<T> invoker)
  • Method Details

    • getInterface

      public Class<T> getInterface()
      Specified by:
      getInterface in interface org.apache.dubbo.rpc.Invoker<T>
    • invoke

      public org.apache.dubbo.rpc.Result invoke(org.apache.dubbo.rpc.Invocation invocation) throws org.apache.dubbo.rpc.RpcException
      Specified by:
      invoke in interface Invoker<T>
      Specified by:
      invoke in interface org.apache.dubbo.rpc.Invoker<T>
      Throws:
      org.apache.dubbo.rpc.RpcException
    • invoke

      public Result invoke(Invocation invocation) throws RpcException
      Specified by:
      invoke in interface Invoker<T>
      Throws:
      RpcException
    • getUrl

      public URL getUrl()
      Specified by:
      getUrl in interface Invoker<T>
      Specified by:
      getUrl in interface org.apache.dubbo.common.Node
    • isAvailable

      public boolean isAvailable()
      Specified by:
      isAvailable in interface org.apache.dubbo.common.Node
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.apache.dubbo.common.Node
    • getOriginal

      public org.apache.dubbo.rpc.Invoker<T> getOriginal()
      Specified by:
      getOriginal in interface Invoker<T>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object