public static final class ServiceDiscoveryRegistryDirectory.InstanceWrappedInvoker<T> extends Object implements org.apache.dubbo.rpc.Invoker<T>
| Constructor and Description |
|---|
InstanceWrappedInvoker(org.apache.dubbo.rpc.Invoker<T> originInvoker,
URL newConsumerUrl,
ProtocolServiceKey protocolServiceKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Class<T> |
getInterface() |
URL |
getUrl() |
org.apache.dubbo.rpc.Result |
invoke(org.apache.dubbo.rpc.Invocation invocation) |
boolean |
isAvailable() |
public InstanceWrappedInvoker(org.apache.dubbo.rpc.Invoker<T> originInvoker, URL newConsumerUrl, ProtocolServiceKey protocolServiceKey)
public Class<T> getInterface()
getInterface in interface org.apache.dubbo.rpc.Invoker<T>public org.apache.dubbo.rpc.Result invoke(org.apache.dubbo.rpc.Invocation invocation)
throws org.apache.dubbo.rpc.RpcException
invoke in interface org.apache.dubbo.rpc.Invoker<T>org.apache.dubbo.rpc.RpcExceptionpublic boolean isAvailable()
isAvailable in interface NodeCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.