public abstract class AbstractDirectory<T> extends Object implements Directory<T>
| Constructor and Description |
|---|
AbstractDirectory(org.apache.dubbo.common.URL url) |
AbstractDirectory(org.apache.dubbo.common.URL url,
RouterChain<T> routerChain) |
AbstractDirectory(org.apache.dubbo.common.URL url,
org.apache.dubbo.common.URL consumerUrl,
RouterChain<T> routerChain) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
org.apache.dubbo.common.URL |
getConsumerUrl() |
RouterChain<T> |
getRouterChain() |
org.apache.dubbo.common.URL |
getUrl() |
boolean |
isDestroyed() |
List<Invoker<T>> |
list(Invocation invocation)
list invokers.
|
void |
setConsumerUrl(org.apache.dubbo.common.URL consumerUrl) |
void |
setRouterChain(RouterChain<T> routerChain) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInterfacepublic AbstractDirectory(org.apache.dubbo.common.URL url)
public AbstractDirectory(org.apache.dubbo.common.URL url,
RouterChain<T> routerChain)
public AbstractDirectory(org.apache.dubbo.common.URL url,
org.apache.dubbo.common.URL consumerUrl,
RouterChain<T> routerChain)
public List<Invoker<T>> list(Invocation invocation) throws RpcException
Directorylist in interface Directory<T>RpcExceptionpublic org.apache.dubbo.common.URL getUrl()
getUrl in interface org.apache.dubbo.common.Nodepublic RouterChain<T> getRouterChain()
public void setRouterChain(RouterChain<T> routerChain)
public org.apache.dubbo.common.URL getConsumerUrl()
public void setConsumerUrl(org.apache.dubbo.common.URL consumerUrl)
public boolean isDestroyed()
public void destroy()
destroy in interface org.apache.dubbo.common.NodeCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.