|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker<T>
public class MockClusterInvoker<T>
| Constructor Summary | |
|---|---|
MockClusterInvoker(Directory<T> directory,
Invoker<T> invoker)
|
|
| Method Summary | |
|---|---|
void |
destroy()
destroy. |
Class<T> |
getInterface()
get service interface. |
URL |
getUrl()
get url. |
Result |
invoke(Invocation invocation)
invoke. |
boolean |
isAvailable()
is available. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MockClusterInvoker(Directory<T> directory,
Invoker<T> invoker)
| Method Detail |
|---|
public URL getUrl()
Node
getUrl in interface Nodepublic boolean isAvailable()
Node
isAvailable in interface Nodepublic void destroy()
Node
destroy in interface Nodepublic Class<T> getInterface()
Invoker
getInterface in interface Invoker<T>
public Result invoke(Invocation invocation)
throws RpcException
Invoker
invoke in interface Invoker<T>RpcExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||