| 程序包 | 说明 |
|---|---|
| org.apache.dubbo.rpc.cluster.loadbalance | |
| org.apache.dubbo.rpc.cluster.support | |
| org.apache.dubbo.rpc.cluster.support.registry |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractLoadBalance
AbstractLoadBalance
|
class |
ConsistentHashLoadBalance
ConsistentHashLoadBalance
|
class |
LeastActiveLoadBalance
LeastActiveLoadBalance
Filter the number of invokers with the least number of active calls and count the weights and quantities of these invokers.
|
class |
RandomLoadBalance
This class select one provider from multiple providers randomly.
|
class |
RoundRobinLoadBalance
Round robin load balance.
|
class |
ShortestResponseLoadBalance
ShortestResponseLoadBalance
Filter the number of invokers with the shortest response time of success calls and count the weights and quantities of these invokers.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
ForkingClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Result |
BroadcastCluster2Invoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Result |
BroadcastClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Result |
FailfastClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Result |
FailsafeClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Result |
FailoverClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Result |
AvailableClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
ZoneAwareClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.