LoadbalanceStrategy that selects the RSocket to use in round-robin order.
| Modifier and Type | Field and Description |
|---|---|
| private static final AtomicIntegerFieldUpdater | |
| pack-priv volatile int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public RSocket | select(List<RSocket>
the list to choose from sockets)Implements io. RSocket from the given non-empty list.
|
| NEXT_INDEX | back to summary |
|---|---|
| private static final AtomicIntegerFieldUpdater<RoundRobinLoadbalanceStrategy> NEXT_INDEX | |
| nextIndex | back to summary |
|---|---|
| pack-priv volatile int nextIndex | |
| RoundRobinLoadbalanceStrategy | back to summary |
|---|---|
| public RoundRobinLoadbalanceStrategy() | |
| select | back to summary |
|---|---|
| public RSocket select(List<RSocket> sockets) Implements io. Doc from io. Select an | |