docs: private Address chooseTargetReplica(Collection<Address> excludedAddresses) {
          final List<Address> replicaAddresses = getReplicaAddresses(excludedAddresses);
          if (replicaAddresses.isEmpty()) {
              return null;
          }
          final int randomReplicaIndex = ThreadLocalRandomProvider.get().nextInt(replicaAddresses.size());
          return replicaAddresses.get(randomReplicaIndex);
      }