public class StaticDirectory<T> extends AbstractDirectory<T>
| Constructor and Description |
|---|
StaticDirectory(List<Invoker<T>> invokers) |
StaticDirectory(List<Invoker<T>> invokers,
RouterChain<T> routerChain) |
StaticDirectory(URL url,
List<Invoker<T>> invokers) |
StaticDirectory(URL url,
List<Invoker<T>> invokers,
RouterChain<T> routerChain) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildRouterChain() |
void |
destroy()
destroy.
|
Class<T> |
getInterface()
get service type.
|
boolean |
isAvailable()
is available.
|
getConsumerUrl, getRouterChain, getUrl, isDestroyed, list, setConsumerUrl, setRouterChainpublic StaticDirectory(List<Invoker<T>> invokers, RouterChain<T> routerChain)
public Class<T> getInterface()
Directorypublic boolean isAvailable()
Nodepublic void destroy()
Nodedestroy in interface Nodedestroy in class AbstractDirectory<T>public void buildRouterChain()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.