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