@FunctionalInterface public interface LoadbalanceStrategy
RSocket
given a list of instances for load-balancing purposes. A
simple implementation might go in round-robin fashion while a more sophisticated strategy might
check availability, track usage stats, and so on.Modifier and Type | Method and Description |
---|---|
RSocket |
select(List<RSocket> sockets)
Select an
RSocket from the given non-empty list. |