initial_hosts=createInitialHosts(str);
try { initial_hosts=createInitialHosts(str); } catch(UnknownHostException e) { if(log.isErrorEnabled()) log.error("failed constructing initial list of hosts", e); return false; }
    public boolean setProperties(Properties props) {        String str;        str=props.getProperty("gossip_host");        if(str != null) {            gossip_host=str;            props.remove("gossip_host");        }        str=props.getProperty("gossip_port");        if(str != null) {            gossip_port=Integer.parseInt(str);            props.remove("gossip_port");        }        str=props.getProperty("gossip_refresh");        if(str != null) {            gossip_refresh=Long.parseLong(str);            props.remove("gossip_refresh");        }        if(gossip_host != null && gossip_port != 0) {            try {                client=new GossipClient(new IpAddress(InetAddress.getByName(gossip_host), gossip_port), gossip_refresh);            }            catch(Exception e) {                if(log.isErrorEnabled()) log.error("creation of GossipClient failed, exception=" + e);                return false; // will cause stack creation to abort            }        }        str=props.getProperty("port_range");           // if member cannot be contacted on base port,        if(str != null) {                              // how many times can we increment the port            port_range=Integer.parseInt(str);            if(port_range < 1) {                port_range=1;            }            props.remove("port_range");        }        str=props.getProperty("initial_hosts");        if(str != null) {            props.remove("initial_hosts");            initial_hosts=createInitialHosts(str);        }        return super.setProperties(props);    }