public Set<String> getUniqueHosts() {
        Set<String> uniqueHosts = new HashSet<String>();
        Collections.addAll(uniqueHosts, config.getStringProperty(CoreConfig.CASSANDRA_HOSTS).split(","));
        return uniqueHosts;
    }
public Set<String> getUniqueHosts() {
        Set<String> uniqueHosts = new HashSet<String>();
        Collections.addAll(uniqueHosts, config.getStringProperty(CoreConfig.CASSANDRA_HOSTS).split(","));
        return uniqueHosts;
    }
public Set < String > getUniqueHosts ( ) { Set < String > uniqueHosts = new HashSet < String > ( ) ; Collections . addAll ( uniqueHosts , config . getStringProperty ( CoreConfig . CASSANDRA_HOSTS ) . split ( "," ) ) ; return uniqueHosts ; }
Retrieves the set of unique Cassandra hosts from configuration file.
If a single host appears multiple times in the configuration, only one will
be listed.

@return set of unique Cassandra hosts
Retrieves the set of unique Cassandra hosts from configuration file . If a single host appears multiple times in the configuration only one will be listed .