public abstract class AbstractDirectory<T> extends Object implements Directory<T>
| 构造器和说明 |
|---|
AbstractDirectory(org.apache.dubbo.common.URL url) |
AbstractDirectory(org.apache.dubbo.common.URL url,
RouterChain<T> routerChain) |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
getAllInvokers, getInterfacepublic AbstractDirectory(org.apache.dubbo.common.URL url)
public AbstractDirectory(org.apache.dubbo.common.URL url,
RouterChain<T> routerChain)
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()
public void destroy()
destroy 在接口中 org.apache.dubbo.common.NodeCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.