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 |
|---|---|
org.apache.dubbo.rpc.Result |
invoke(org.apache.dubbo.rpc.Invocation invocation) |
boolean |
isServiceDiscovery() |
void |
migrateToApplicationFirstInvoker(MigrationRule newRule) |
boolean |
migrateToForceInterfaceInvoker(MigrationRule newRule) |
checkInvokerAvailable, destroy, getCluster, getConsumerUrl, getCurrentAvailableInvoker, getDirectory, getInterface, getInvoker, getMigrationRule, getMigrationStep, getRegistryUrl, getServiceDiscoveryInvoker, getUrl, isAvailable, isDestroyed, migrateToForceApplicationInvoker, reRefer, setInvoker, setMigrationRule, setMigrationStep, setServiceDiscoveryInvokerequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasProxyInvokerspublic boolean isServiceDiscovery()
isServiceDiscovery in interface MigrationClusterInvoker<T>isServiceDiscovery in interface ClusterInvoker<T>isServiceDiscovery in class MigrationInvoker<T>public boolean migrateToForceInterfaceInvoker(MigrationRule newRule)
migrateToForceInterfaceInvoker in interface MigrationClusterInvoker<T>migrateToForceInterfaceInvoker in class MigrationInvoker<T>public void migrateToApplicationFirstInvoker(MigrationRule newRule)
migrateToApplicationFirstInvoker in interface MigrationClusterInvoker<T>migrateToApplicationFirstInvoker 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.