code: private void updateMembers() {
  		try {
  			List<String> locations = new ArrayList<String>();
  
  			EtcdMemberResponse response = listMembers();
  			EtcdMember[] members = response.getMembers();
  
  			for (EtcdMember member : members) {
  				String[] clientUrls = member.getClientURLs();
  				if (clientUrls != null) {
  					for (String clientUrl : clientUrls) {
  						try {
  							String version = template.getForObject(clientUrl + "/version", String.class);
  							if (version == null) {
  								locations.add(clientUrl);
  							}
  						} catch (RestClientException e) {
  							log.debug("ignoring URI " + clientUrl + " because of error.", e);
  						}
  					}
  				}
  			}
  
  			if (!locations.isEmpty()) {
  				this.locations = locations.toArray(new String[locations.size()]);
  			} else {
  				log.debug("not updating locations because no location is found");
  			}
  		} catch (EtcdException e) {
  			log.error("Could not update etcd cluster member.", e);
  		}
  	}
docs: Updates the locations of the etcd cluster members.