public class RoundRobinLoadbalanceStrategy extends Object implements LoadbalanceStrategy
LoadbalanceStrategy that selects the RSocket to use in round-robin order.| Constructor and Description |
|---|
RoundRobinLoadbalanceStrategy() |
| Modifier and Type | Method and Description |
|---|---|
RSocket |
select(List<RSocket> sockets)
Select an
RSocket from the given non-empty list. |
public RSocket select(List<RSocket> sockets)
LoadbalanceStrategyRSocket from the given non-empty list.select in interface LoadbalanceStrategysockets - the list to choose from