public abstract class AbstractDirectory<T> extends Object implements Directory<T>
| 构造器和说明 |
|---|
AbstractDirectory(URL url) |
AbstractDirectory(URL url,
List<Router> routers) |
AbstractDirectory(URL url,
URL consumerUrl,
List<Router> routers) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy()
destroy.
|
URL |
getConsumerUrl() |
List<Router> |
getRouters() |
URL |
getUrl()
get url.
|
boolean |
isDestroyed() |
List<Invoker<T>> |
list(Invocation invocation)
list invokers.
|
void |
setConsumerUrl(URL consumerUrl) |
getInterfaceisAvailablepublic AbstractDirectory(URL url)
public List<Invoker<T>> list(Invocation invocation) throws RpcException
Directorylist 在接口中 Directory<T>RpcExceptionpublic URL getConsumerUrl()
public void setConsumerUrl(URL consumerUrl)
public boolean isDestroyed()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.