Created by 2YSP on 2020/12/27
| 8 | * Created by 2YSP on 2020/12/27 |
| 9 | */ |
| 10 | public interface LoadBalance { |
| 11 | /** |
| 12 | * Select an instance based on the load balancing algorithm |
| 13 | * @param instances |
| 14 | * @return |
| 15 | */ |
| 16 | ServiceInstance chooseOne(List<ServiceInstance> instances); |
| 17 | } |
no outgoing calls
no test coverage detected