public abstract class AbstractInvoker<T> extends Object implements Invoker<T>
| 构造器和说明 |
|---|
AbstractInvoker(Class<T> type,
URL url) |
AbstractInvoker(Class<T> type,
URL url,
Map<String,String> attachment) |
AbstractInvoker(Class<T> type,
URL url,
String[] keys) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy()
destroy.
|
Class<T> |
getInterface()
get service interface.
|
URL |
getUrl()
get url.
|
Result |
invoke(Invocation inv)
invoke.
|
boolean |
isAvailable()
is available.
|
boolean |
isDestroyed() |
String |
toString() |
public Class<T> getInterface()
InvokergetInterface 在接口中 Invoker<T>public boolean isAvailable()
NodeisAvailable 在接口中 Nodepublic boolean isDestroyed()
public Result invoke(Invocation inv) throws RpcException
Invokerinvoke 在接口中 Invoker<T>RpcExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.