- All Implemented Interfaces:
- LoadBalance
public class ShortestResponseLoadBalance
extends AbstractLoadBalance
ShortestResponseLoadBalance
Filter the number of invokers with the shortest response time of success 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.