public abstract class AbstractDirectory<T> extends Object implements Directory<T>
| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
getAllInvokers, 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 在接口中 Directory<T>RpcExceptionpublic org.apache.dubbo.common.URL getUrl()
getUrl 在接口中 org.apache.dubbo.common.Nodepublic RouterChain<T> getRouterChain()
public void setRouterChain(RouterChain<T> routerChain)
public org.apache.dubbo.common.URL getConsumerUrl()
getConsumerUrl 在接口中 Directory<T>public void setConsumerUrl(org.apache.dubbo.common.URL consumerUrl)
public boolean isDestroyed()
isDestroyed 在接口中 Directory<T>public void destroy()
destroy 在接口中 org.apache.dubbo.common.Nodepublic void discordAddresses()
discordAddresses 在接口中 Directory<T>Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.