类 LeastActiveLoadBalance
- java.lang.Object
-
- org.apache.dubbo.rpc.cluster.loadbalance.AbstractLoadBalance
-
- org.apache.dubbo.rpc.cluster.loadbalance.LeastActiveLoadBalance
-
- 所有已实现的接口:
LoadBalance
public class LeastActiveLoadBalance extends AbstractLoadBalance
LeastActiveLoadBalanceFilter the number of invokers with the least number of active calls and count the weights and quantities of these invokers. If there is only one invoker, use the invoker directly; if there are multiple invokers and the weights are not the same, then random according to the total weight; if there are multiple invokers and the same weight, then randomly called.