| Constructor and Description |
|---|
MockClusterInvoker(Directory<T> directory,
Invoker<T> invoker) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface Nodepublic void destroy()
Nodepublic Class<T> getInterface()
InvokergetInterface in interface Invoker<T>public Result invoke(Invocation invocation) throws RpcException
Invokerinvoke in interface Invoker<T>RpcExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.