| Constructor and Description |
|---|
MockClusterInvoker(Directory<T> directory,
Invoker<T> invoker) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Class<T> |
getInterface() |
org.apache.dubbo.common.URL |
getUrl() |
Result |
invoke(Invocation invocation) |
boolean |
isAvailable() |
String |
toString() |
public org.apache.dubbo.common.URL getUrl()
getUrl in interface org.apache.dubbo.common.Nodepublic boolean isAvailable()
isAvailable in interface org.apache.dubbo.common.Nodepublic void destroy()
destroy in interface org.apache.dubbo.common.Nodepublic Class<T> getInterface()
getInterface in interface Invoker<T>public Result invoke(Invocation invocation) throws RpcException
invoke in interface Invoker<T>RpcExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.