| 构造器和说明 |
|---|
MockClusterInvoker(Directory<T> directory,
Invoker<T> invoker) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy()
destroy.
|
Class<T> |
getInterface()
get service interface.
|
URL |
getUrl()
get url.
|
Result |
invoke(Invocation invocation)
invoke.
|
boolean |
isAvailable()
is available.
|
String |
toString() |
public boolean isAvailable()
NodeisAvailable 在接口中 Nodepublic Class<T> getInterface()
InvokergetInterface 在接口中 Invoker<T>public Result invoke(Invocation invocation) throws RpcException
Invokerinvoke 在接口中 Invoker<T>RpcExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.