- All Known Implementing Classes:
maybeShuffleOptionally shuffle the list of addresses returned by
The automatic connection recovery calls this method after
getAddresses()to pick a random address for reconnecting.
The default method implementation calls
Collections.shuffle(List). Custom implementations can choose to not do any shuffling to have more predictability in the reconnection.
- potentially shuffled list of addresses.