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