public abstract class AbstractClusterInvoker<T> extends Object implements Invoker<T>
| Constructor and Description |
|---|
AbstractClusterInvoker(Directory<T> directory) |
AbstractClusterInvoker(Directory<T> directory,
URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
destroy.
|
Class<T> |
getInterface()
get service interface.
|
URL |
getUrl()
get url.
|
Result |
invoke(Invocation invocation)
invoke.
|
boolean |
isAvailable()
is available.
|
String |
toString() |
public Class<T> getInterface()
InvokergetInterface in interface Invoker<T>public boolean isAvailable()
NodeisAvailable in interface Nodepublic void destroy()
Nodepublic Result invoke(Invocation invocation) throws RpcException
Invokerinvoke in interface Invoker<T>RpcExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.