public class StaticDirectory<T> extends AbstractDirectory<T>
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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 Class<T> getInterface()
Directorypublic boolean isAvailable()
public void destroy()
destroy in interface org.apache.dubbo.common.Nodedestroy in class AbstractDirectory<T>public void buildRouterChain()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.