Class LeastActiveLoadBalance

java.lang.Object
org.apache.dubbo.rpc.cluster.loadbalance.AbstractLoadBalance
org.apache.dubbo.rpc.cluster.loadbalance.LeastActiveLoadBalance
All Implemented Interfaces:
LoadBalance

public class LeastActiveLoadBalance extends AbstractLoadBalance
LeastActiveLoadBalance

Filter 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.

  • Field Details

  • Constructor Details

    • LeastActiveLoadBalance

      public LeastActiveLoadBalance()