public class StaticDirectory<T> extends AbstractDirectory<T>
| 构造器和说明 |
|---|
StaticDirectory(List<Invoker<T>> invokers) |
StaticDirectory(List<Invoker<T>> invokers,
RouterChain<T> routerChain) |
StaticDirectory(org.apache.dubbo.common.URL url,
List<Invoker<T>> invokers) |
StaticDirectory(org.apache.dubbo.common.URL url,
List<Invoker<T>> invokers,
RouterChain<T> routerChain) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
buildRouterChain() |
void |
destroy() |
List<Invoker<T>> |
getAllInvokers() |
Class<T> |
getInterface()
get service type.
|
boolean |
isAvailable() |
discordAddresses, getConsumerUrl, getRouterChain, getSubscribeConsumerurl, getUrl, isDestroyed, list, setConsumerUrl, setRouterChainpublic StaticDirectory(List<Invoker<T>> invokers, RouterChain<T> routerChain)
public StaticDirectory(org.apache.dubbo.common.URL url,
List<Invoker<T>> invokers,
RouterChain<T> routerChain)
public boolean isAvailable()
public void destroy()
destroy 在接口中 org.apache.dubbo.common.Nodedestroy 在类中 AbstractDirectory<T>public void buildRouterChain()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.