接口 Directory<T>
-
- 所有超级接口:
org.apache.dubbo.common.Node
- 所有已知实现类:
AbstractDirectory,StaticDirectory
public interface Directory<T> extends org.apache.dubbo.common.NodeDirectory. (SPI, Prototype, ThreadSafe)- 另请参阅:
Cluster.join(Directory)
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 voiddiscordAddresses()List<Invoker<T>>getAllInvokers()org.apache.dubbo.common.URLgetConsumerUrl()Class<T>getInterface()get service type.RouterChain<T>getRouterChain()booleanisDestroyed()default booleanisEmpty()default booleanisNotificationReceived()default booleanisServiceDiscovery()List<Invoker<T>>list(Invocation invocation)list invokers.
-
-
-
方法详细资料
-
list
List<Invoker<T>> list(Invocation invocation) throws RpcException
list invokers.- 返回:
- invokers
- 抛出:
RpcException
-
getConsumerUrl
org.apache.dubbo.common.URL getConsumerUrl()
-
isDestroyed
boolean isDestroyed()
-
isEmpty
default boolean isEmpty()
-
isServiceDiscovery
default boolean isServiceDiscovery()
-
discordAddresses
void discordAddresses()
-
getRouterChain
RouterChain<T> getRouterChain()
-
isNotificationReceived
default boolean isNotificationReceived()
-
-