@Join public class RoundRobinLoadBalancer extends AbstractLoadBalancer
| Modifier and Type | Class and Description |
|---|---|
protected static class |
RoundRobinLoadBalancer.WeightedRoundRobin
The type Weighted round-robin.
|
| Constructor and Description |
|---|
RoundRobinLoadBalancer() |
| Modifier and Type | Method and Description |
|---|---|
Upstream |
doSelect(java.util.List<Upstream> upstreamList,
java.lang.String ip)
Do select upstream.
|
getWeight, selectpublic Upstream doSelect(java.util.List<Upstream> upstreamList, java.lang.String ip)
AbstractLoadBalancerdoSelect in class AbstractLoadBalancerupstreamList - the upstream listip - the ipCopyright © 2023 The Apache Software Foundation. All rights reserved.