Class ServiceDiscoveryMigrationInvoker<T>
java.lang.Object
org.apache.dubbo.registry.client.migration.MigrationInvoker<T>
org.apache.dubbo.registry.client.migration.ServiceDiscoveryMigrationInvoker<T>
- All Implemented Interfaces:
Node,MigrationClusterInvoker<T>,ClusterInvoker<T>,org.apache.dubbo.rpc.Invoker<T>
-
Constructor Summary
ConstructorsConstructorDescriptionServiceDiscoveryMigrationInvoker(RegistryProtocol registryProtocol, Cluster cluster, Registry registry, Class<T> type, URL url, URL consumerUrl) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.dubbo.rpc.Resultinvoke(org.apache.dubbo.rpc.Invocation invocation) booleanvoidbooleanMethods inherited from class org.apache.dubbo.registry.client.migration.MigrationInvoker
checkInvokerAvailable, destroy, getCluster, getConsumerUrl, getCurrentAvailableInvoker, getDirectory, getInterface, getInvoker, getMigrationRule, getMigrationStep, getRegistryUrl, getServiceDiscoveryInvoker, getUrl, isAvailable, isDestroyed, migrateToForceApplicationInvoker, reRefer, setInvoker, setMigrationRule, setMigrationStep, setServiceDiscoveryInvoker, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.dubbo.rpc.cluster.ClusterInvoker
hasProxyInvokers
-
Constructor Details
-
ServiceDiscoveryMigrationInvoker
-
-
Method Details
-
isServiceDiscovery
public boolean isServiceDiscovery()- Specified by:
isServiceDiscoveryin interfaceClusterInvoker<T>- Specified by:
isServiceDiscoveryin interfaceMigrationClusterInvoker<T>- Overrides:
isServiceDiscoveryin classMigrationInvoker<T>
-
migrateToForceInterfaceInvoker
- Specified by:
migrateToForceInterfaceInvokerin interfaceMigrationClusterInvoker<T>- Overrides:
migrateToForceInterfaceInvokerin classMigrationInvoker<T>
-
migrateToApplicationFirstInvoker
- Specified by:
migrateToApplicationFirstInvokerin interfaceMigrationClusterInvoker<T>- Overrides:
migrateToApplicationFirstInvokerin classMigrationInvoker<T>
-
invoke
public org.apache.dubbo.rpc.Result invoke(org.apache.dubbo.rpc.Invocation invocation) throws org.apache.dubbo.rpc.RpcException - Specified by:
invokein interfaceorg.apache.dubbo.rpc.Invoker<T>- Overrides:
invokein classMigrationInvoker<T>- Throws:
org.apache.dubbo.rpc.RpcException
-