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,
boolean isUrlFromRegistry) |
AbstractDirectory(org.apache.dubbo.common.URL url,
RouterChain<T> routerChain,
boolean isUrlFromRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
discordAddresses() |
org.apache.dubbo.common.URL |
getConsumerUrl() |
RouterChain<T> |
getRouterChain() |
org.apache.dubbo.common.URL |
getSubscribeConsumerurl() |
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, waitgetAllInvokers, getInterfacepublic AbstractDirectory(org.apache.dubbo.common.URL url)
public AbstractDirectory(org.apache.dubbo.common.URL url,
boolean isUrlFromRegistry)
public AbstractDirectory(org.apache.dubbo.common.URL url,
RouterChain<T> routerChain,
boolean isUrlFromRegistry)
public org.apache.dubbo.common.URL getSubscribeConsumerurl()
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()
getConsumerUrl in interface Directory<T>public void setConsumerUrl(org.apache.dubbo.common.URL consumerUrl)
public boolean isDestroyed()
isDestroyed in interface Directory<T>public void destroy()
destroy in interface org.apache.dubbo.common.Nodepublic void discordAddresses()
discordAddresses in interface Directory<T>Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.