algoliasearch/src/main/java/com/algolia/search/saas/places/PlacesClient.java
private void setDefaultHosts() {
        List<String> fallbackHosts = Arrays.asList(
                "places-1.algolianet.com",
                "places-2.algolianet.com",
                "places-3.algolianet.com"
        );
        Collections.shuffle(fallbackHosts);

        List<String> hosts = new ArrayList<>(fallbackHosts.size() + 1);
        hosts.add("places-dsn.algolia.net");
        hosts.addAll(fallbackHosts);
        String[] hostsArray = hosts.toArray(new String[hosts.size()]);

        setReadHosts(hostsArray);
        setWriteHosts(hostsArray);
    }
private void setDefaultHosts() {
        List<String> fallbackHosts = Arrays.asList(
                "places-1.algolianet.com",
                "places-2.algolianet.com",
                "places-3.algolianet.com"
        );
        Collections.shuffle(fallbackHosts);

        List<String> hosts = new ArrayList<>(fallbackHosts.size() + 1);
        hosts.add("places-dsn.algolia.net");
        hosts.addAll(fallbackHosts);
        String[] hostsArray = hosts.toArray(new String[hosts.size()]);

        setReadHosts(hostsArray);
        setWriteHosts(hostsArray);
    }
Set the default hosts for Algolia Places.