public class MigrationInvoker<T> extends Object implements MigrationClusterInvoker<T>
| 构造器和说明 |
|---|
MigrationInvoker(ClusterInvoker<T> invoker,
ClusterInvoker<T> serviceDiscoveryInvoker,
RegistryProtocol registryProtocol,
Cluster cluster,
Registry registry,
Class<T> type,
URL url,
URL consumerUrl) |
MigrationInvoker(RegistryProtocol registryProtocol,
Cluster cluster,
Registry registry,
Class<T> type,
URL url,
URL consumerUrl) |
public MigrationInvoker(RegistryProtocol registryProtocol, Cluster cluster, Registry registry, Class<T> type, URL url, URL consumerUrl)
public MigrationInvoker(ClusterInvoker<T> invoker, ClusterInvoker<T> serviceDiscoveryInvoker, RegistryProtocol registryProtocol, Cluster cluster, Registry registry, Class<T> type, URL url, URL consumerUrl)
public ClusterInvoker<T> getInvoker()
public void setInvoker(ClusterInvoker<T> invoker)
public ClusterInvoker<T> getServiceDiscoveryInvoker()
public void setServiceDiscoveryInvoker(ClusterInvoker<T> serviceDiscoveryInvoker)
public void migrateToServiceDiscoveryInvoker(boolean forceMigrate)
public void reRefer(URL newSubscribeUrl)
reRefer 在接口中 MigrationClusterInvoker<T>public void fallbackToInterfaceInvoker()
fallbackToInterfaceInvoker 在接口中 MigrationClusterInvoker<T>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>org.apache.dubbo.rpc.RpcExceptionpublic boolean isAvailable()
isAvailable 在接口中 Nodepublic URL getRegistryUrl()
getRegistryUrl 在接口中 ClusterInvoker<T>public Directory<T> getDirectory()
getDirectory 在接口中 ClusterInvoker<T>public boolean isDestroyed()
isDestroyed 在接口中 ClusterInvoker<T>public AtomicBoolean invokersChanged()
invokersChanged 在接口中 MigrationClusterInvoker<T>public void destroyServiceDiscoveryInvoker(ClusterInvoker<?> serviceDiscoveryInvoker)
public void discardServiceDiscoveryInvokerAddress(ClusterInvoker<?> serviceDiscoveryInvoker)
public void refreshServiceDiscoveryInvoker()
public void refreshInterfaceInvoker()
refreshInterfaceInvoker 在接口中 MigrationClusterInvoker<T>public void destroyInterfaceInvoker(ClusterInvoker<T> invoker)
destroyInterfaceInvoker 在接口中 MigrationClusterInvoker<T>public void discardInterfaceInvokerAddress(ClusterInvoker<T> invoker)
public boolean checkInvokerAvailable(ClusterInvoker<T> invoker)
public boolean isServiceInvoker()
isServiceInvoker 在接口中 MigrationClusterInvoker<T>public MigrationRule getMigrationRule()
getMigrationRule 在接口中 MigrationClusterInvoker<T>public void setMigrationRule(MigrationRule rule)
setMigrationRule 在接口中 MigrationClusterInvoker<T>public boolean isMigrationMultiRegistry()
isMigrationMultiRegistry 在接口中 MigrationClusterInvoker<T>Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.