com.alibaba.dubbo.rpc.cluster
Interface Directory<T>

All Superinterfaces:
Node
All Known Implementing Classes:
AbstractDirectory, RegistryDirectory, StaticDirectory

public interface Directory<T>
extends Node

Directory. (SPI, Prototype, ThreadSafe)

Directory Service

Author:
william.liangf
See Also:
Cluster.join(Directory)

Method Summary
 Class<T> getInterface()
          get service type.
 List<Invoker<T>> list(Invocation invocation)
          list invokers.
 
Methods inherited from interface com.alibaba.dubbo.common.Node
destroy, getUrl, isAvailable
 

Method Detail

getInterface

Class<T> getInterface()
get service type.

Returns:
service type.

list

List<Invoker<T>> list(Invocation invocation)
                      throws RpcException
list invokers.

Returns:
invokers
Throws:
RpcException


Copyright © 2012–2017 Alibaba. All rights reserved.