public abstract class AbstractDirectory<T> extends Object implements Directory<T>
| Constructor and Description |
|---|
AbstractDirectory(URL url) |
AbstractDirectory(URL url,
List<Router> routers) |
AbstractDirectory(URL url,
URL consumerUrl,
List<Router> routers) |
| Modifier and Type | Method and Description |
|---|---|
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) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInterfaceisAvailablepublic AbstractDirectory(URL url)
public List<Invoker<T>> list(Invocation invocation) throws RpcException
Directorylist in interface Directory<T>RpcExceptionpublic URL getConsumerUrl()
public void setConsumerUrl(URL consumerUrl)
public boolean isDestroyed()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.