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()
list invokers
include all invokers from registry
|
Class<T> |
getInterface()
get service type.
|
boolean |
isAvailable() |
void |
notify(List<Invoker<T>> invokers) |
addDisabledInvoker, addInvalidateInvoker, checkConnectivity, discordAddresses, getCheckConnectivityPermit, getConnectivityCheckFuture, getConsumerUrl, getDisabledInvokers, getInvokers, getInvokersToReconnect, getRouterChain, getUrl, getValidInvokers, isDestroyed, list, recoverDisabledInvoker, refreshInvoker, setConsumerUrl, setRouterChainisEmpty, isNotificationReceived, isServiceDiscoverypublic StaticDirectory(List<Invoker<T>> invokers, RouterChain<T> routerChain)
public StaticDirectory(org.apache.dubbo.common.URL url,
List<Invoker<T>> invokers,
RouterChain<T> routerChain)
public List<Invoker<T>> getAllInvokers()
Directorypublic boolean isAvailable()
public void destroy()
destroy 在接口中 org.apache.dubbo.common.Nodedestroy 在类中 AbstractDirectory<T>public void buildRouterChain()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.