接口的使用
org.apache.dubbo.rpc.cluster.ClusterInvoker
-
-
org.apache.dubbo.registry.client.migration中ClusterInvoker的使用
实现ClusterInvoker的org.apache.dubbo.registry.client.migration中的类 修饰符和类型 类 说明 classMigrationInvoker<T>classServiceDiscoveryMigrationInvoker<T>返回ClusterInvoker的org.apache.dubbo.registry.client.migration中的方法 修饰符和类型 方法 说明 ClusterInvoker<T>MigrationInvoker. getInvoker()ClusterInvoker<T>MigrationInvoker. getServiceDiscoveryInvoker()参数类型为ClusterInvoker的org.apache.dubbo.registry.client.migration中的方法 修饰符和类型 方法 说明 booleanMigrationInvoker. checkInvokerAvailable(ClusterInvoker<T> invoker)voidMigrationInvoker. destroyInterfaceInvoker(ClusterInvoker<T> invoker)voidMigrationInvoker. destroyServiceDiscoveryInvoker(ClusterInvoker<?> serviceDiscoveryInvoker)voidMigrationInvoker. discardInterfaceInvokerAddress(ClusterInvoker<T> invoker)voidMigrationInvoker. discardServiceDiscoveryInvokerAddress(ClusterInvoker<?> serviceDiscoveryInvoker)voidMigrationRuleListener. onRefer(RegistryProtocol registryProtocol, ClusterInvoker<?> invoker, URL url)voidMigrationInvoker. setInvoker(ClusterInvoker<T> invoker)voidMigrationInvoker. setServiceDiscoveryInvoker(ClusterInvoker<T> serviceDiscoveryInvoker)<T> booleanDefaultMigrationAddressComparator. shouldMigrate(ClusterInvoker<T> serviceDiscoveryInvoker, ClusterInvoker<T> invoker)<T> booleanMigrationAddressComparator. shouldMigrate(ClusterInvoker<T> serviceDiscoveryInvoker, ClusterInvoker<T> invoker)参数类型为ClusterInvoker的org.apache.dubbo.registry.client.migration中的构造器 构造器 说明 MigrationInvoker(ClusterInvoker<T> invoker, ClusterInvoker<T> serviceDiscoveryInvoker, RegistryProtocol registryProtocol, Cluster cluster, Registry registry, Class<T> type, URL url, URL consumerUrl) -
org.apache.dubbo.registry.integration中ClusterInvoker的使用
返回ClusterInvoker的org.apache.dubbo.registry.integration中的方法 修饰符和类型 方法 说明 <T> ClusterInvoker<T>InterfaceCompatibleRegistryProtocol. getInvoker(Cluster cluster, Registry registry, Class<T> type, URL url)<T> ClusterInvoker<T>RegistryProtocol. getInvoker(Cluster cluster, Registry registry, Class<T> type, URL url)<T> ClusterInvoker<T>InterfaceCompatibleRegistryProtocol. getServiceDiscoveryInvoker(Cluster cluster, Registry registry, Class<T> type, URL url)<T> ClusterInvoker<T>RegistryProtocol. getServiceDiscoveryInvoker(Cluster cluster, Registry registry, Class<T> type, URL url)参数类型为ClusterInvoker的org.apache.dubbo.registry.integration中的方法 修饰符和类型 方法 说明 voidRegistryProtocolListener. onRefer(RegistryProtocol registryProtocol, ClusterInvoker<?> invoker, URL url)Notify RegistryProtocol's listeners when a service is subscribed<T> voidRegistryProtocol. reRefer(ClusterInvoker<?> invoker, URL newSubscribeUrl) -
org.apache.dubbo.rpc.cluster.support中ClusterInvoker的使用
实现ClusterInvoker的org.apache.dubbo.rpc.cluster.support中的类 修饰符和类型 类 说明 classAbstractClusterInvoker<T>AbstractClusterInvokerclassAvailableClusterInvoker<T>AvailableClusterclassBroadcastCluster2Invoker<T>BroadcastCluster2InvokerclassBroadcastClusterInvoker<T>BroadcastClusterInvokerclassFailbackClusterInvoker<T>When fails, record failure requests and schedule for retry on a regular interval.classFailfastClusterInvoker<T>Execute exactly once, which means this policy will throw an exception immediately in case of an invocation error.classFailoverClusterInvoker<T>When invoke fails, log the initial error and retry other invokers (retry n times, which means at most n different invokers will be invoked) Note that retry causes latency.classFailsafeClusterInvoker<T>When invoke fails, log the error message and ignore this error by returning an empty Result.classForkingClusterInvoker<T>NOTICE!classMergeableClusterInvoker<T> -
org.apache.dubbo.rpc.cluster.support.migration中ClusterInvoker的使用
org.apache.dubbo.rpc.cluster.support.migration中ClusterInvoker的子接口 修饰符和类型 接口 说明 interfaceMigrationClusterInvoker<T>参数类型为ClusterInvoker的org.apache.dubbo.rpc.cluster.support.migration中的方法 修饰符和类型 方法 说明 voidMigrationClusterInvoker. destroyInterfaceInvoker(ClusterInvoker<T> invoker)voidMigrationClusterInvoker. destroyServiceDiscoveryInvoker(ClusterInvoker<?> invoker)voidMigrationClusterInvoker. discardInterfaceInvokerAddress(ClusterInvoker<T> invoker)voidMigrationClusterInvoker. discardServiceDiscoveryInvokerAddress(ClusterInvoker<?> invoker) -
org.apache.dubbo.rpc.cluster.support.registry中ClusterInvoker的使用
实现ClusterInvoker的org.apache.dubbo.rpc.cluster.support.registry中的类 修饰符和类型 类 说明 classZoneAwareClusterInvoker<T>When there're more than one registry for subscription. -
org.apache.dubbo.rpc.cluster.support.wrapper中ClusterInvoker的使用
实现ClusterInvoker的org.apache.dubbo.rpc.cluster.support.wrapper中的类 修饰符和类型 类 说明 classMockClusterInvoker<T>
-