类 AbstractInvoker<T>
- java.lang.Object
-
- com.alibaba.dubbo.rpc.protocol.AbstractInvoker<T>
-
-
构造器概要
构造器 构造器 说明 AbstractInvoker(Class<T> type, com.alibaba.dubbo.common.URL url)AbstractInvoker(Class<T> type, com.alibaba.dubbo.common.URL url, String[] keys)AbstractInvoker(Class<T> type, com.alibaba.dubbo.common.URL url, Map<String,String> attachment)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddestroy()Class<T>getInterface()get service interface.com.alibaba.dubbo.common.URLgetUrl()Resultinvoke(Invocation inv)invoke.booleanisAvailable()booleanisDestroyed()StringtoString()
-
-
-
方法详细资料
-
getInterface
public Class<T> getInterface()
从接口复制的说明:Invokerget service interface.- 指定者:
getInterface在接口中Invoker<T>- 返回:
- service interface.
-
getUrl
public com.alibaba.dubbo.common.URL getUrl()
- 指定者:
getUrl在接口中com.alibaba.dubbo.common.Node
-
isAvailable
public boolean isAvailable()
- 指定者:
isAvailable在接口中com.alibaba.dubbo.common.Node
-
destroy
public void destroy()
- 指定者:
destroy在接口中com.alibaba.dubbo.common.Node
-
isDestroyed
public boolean isDestroyed()
-
invoke
public Result invoke(Invocation inv) throws RpcException
从接口复制的说明:Invokerinvoke.- 指定者:
invoke在接口中Invoker<T>- 返回:
- result
- 抛出:
RpcException
-
-