public class ServiceDiscoveryMigrationInvoker<T> extends MigrationInvoker<T>
| 构造器和说明 |
|---|
ServiceDiscoveryMigrationInvoker(RegistryProtocol registryProtocol,
Cluster cluster,
Registry registry,
Class<T> type,
URL url,
URL consumerUrl) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fallbackToInterfaceInvoker() |
org.apache.dubbo.rpc.Result |
invoke(org.apache.dubbo.rpc.Invocation invocation) |
boolean |
isServiceInvoker() |
void |
migrateToServiceDiscoveryInvoker(boolean forceMigrate) |
checkInvokerAvailable, destroy, destroyInterfaceInvoker, destroyServiceDiscoveryInvoker, discardInterfaceInvokerAddress, discardServiceDiscoveryInvokerAddress, getDirectory, getInterface, getInvoker, getMigrationRule, getRegistryUrl, getServiceDiscoveryInvoker, getUrl, invokersChanged, isAvailable, isDestroyed, isMigrationMultiRegistry, refreshInterfaceInvoker, refreshServiceDiscoveryInvoker, reRefer, setInvoker, setMigrationRule, setServiceDiscoveryInvokerpublic boolean isServiceInvoker()
isServiceInvoker 在接口中 MigrationClusterInvoker<T>isServiceInvoker 在类中 MigrationInvoker<T>public void fallbackToInterfaceInvoker()
fallbackToInterfaceInvoker 在接口中 MigrationClusterInvoker<T>fallbackToInterfaceInvoker 在类中 MigrationInvoker<T>public void migrateToServiceDiscoveryInvoker(boolean forceMigrate)
public org.apache.dubbo.rpc.Result invoke(org.apache.dubbo.rpc.Invocation invocation)
throws org.apache.dubbo.rpc.RpcException
invoke 在接口中 org.apache.dubbo.rpc.Invoker<T>invoke 在类中 MigrationInvoker<T>org.apache.dubbo.rpc.RpcExceptionCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.