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()
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, setRouterChainequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmpty, 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 Class<T> getInterface()
Directorypublic List<Invoker<T>> getAllInvokers()
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.