public class ServiceDiscoveryMigrationInvoker<T> extends MigrationInvoker<T>
| Constructor and Description |
|---|
ServiceDiscoveryMigrationInvoker(RegistryProtocol registryProtocol,
Cluster cluster,
Registry registry,
Class<T> type,
URL url,
URL consumerUrl) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface MigrationClusterInvoker<T>isServiceInvoker in class MigrationInvoker<T>public void fallbackToInterfaceInvoker()
fallbackToInterfaceInvoker in interface MigrationClusterInvoker<T>fallbackToInterfaceInvoker in class MigrationInvoker<T>public void migrateToServiceDiscoveryInvoker(boolean forceMigrate)
migrateToServiceDiscoveryInvoker in interface MigrationClusterInvoker<T>migrateToServiceDiscoveryInvoker in class MigrationInvoker<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>invoke in class MigrationInvoker<T>org.apache.dubbo.rpc.RpcExceptionCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.